You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
838 B
21 lines
838 B
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; |
|
|
|
function getDefaultExportFromCjs (x) { |
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x; |
|
} |
|
|
|
function createCommonjsModule(fn, basedir, module) { |
|
return module = { |
|
path: basedir, |
|
exports: {}, |
|
require: function (path, base) { |
|
return commonjsRequire(path, (base === undefined || base === null) ? module.path : base); |
|
} |
|
}, fn(module, module.exports), module.exports; |
|
} |
|
|
|
function commonjsRequire () { |
|
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs'); |
|
} |
|
|
|
export { commonjsGlobal as a, createCommonjsModule as c, getDefaultExportFromCjs as g };
|
|
|