%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 49.231.201.246 / Your IP : 216.73.216.149 Web Server : Apache/2.4.18 (Ubuntu) System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64 User : root ( 0) PHP Version : 7.0.33-0ubuntu0.16.04.16 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/11584/cwd/html/ppaobm/vendor/bower-asset/fullcalendar/ |
Upload File : |
// ripped from https://github.com/rollup/rollup-plugin-multi-entry/blob/master/src/index.js // released under the MIT license: https://opensource.org/licenses/MIT import { promise as matched } from 'matched' // TODO: add to package.json const entry = '\0array-entry' export default function multiEntry(config) { let include = [] let exclude = [] function configure(config) { if (typeof config === 'string') { include = [config] } else if (Array.isArray(config)) { include = config } else { include = config.include || [] exclude = config.exclude || [] } } if (config) { configure(config) } return { options(options) { if (options.input && options.input !== entry) { configure(options.input) } options.input = entry }, resolveId(id) { if (id === entry) { return entry } }, load(id) { if (id === entry) { if (!include.length) { return Promise.resolve('') } const patterns = include.concat(exclude.map(pattern => '!' + pattern)) return matched(patterns, { realpath: true }).then(paths => { let s = paths.map((path, index) => `import _m${index} from ${JSON.stringify(path)}`).join(';\n') + ';\n' + 'export default [\n' + paths.map((path, index) => `_m${index}`).join(', ') + '\n' + '];\n' return s }) } } } }