1 | export const HELPERS_ID = '\0commonjsHelpers';
|
2 |
|
3 | export const HELPERS = `
|
4 | export var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
5 |
|
6 | export function commonjsRequire () {
|
7 | throw new Error('Dynamic requires are not currently supported by rollup-plugin-commonjs');
|
8 | }
|
9 |
|
10 | export function unwrapExports (x) {
|
11 | return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
12 | }
|
13 |
|
14 | export function createCommonjsModule(fn, module) {
|
15 | return module = { exports: {} }, fn(module, module.exports), module.exports;
|
16 | }`;
|
17 |
|
18 | export const PREFIX = '\0commonjs-proxy:';
|
19 | export const EXTERNAL = '\0commonjs-external:';
|