strudel-docker/docs/_snowpack/pkg/common/_commonjsHelpers-913f9c4a.js
Felix Roos 6eae714d1d build
2022-02-05 13:05:08 +01:00

20 lines
623 B
JavaScript

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 { createCommonjsModule as c, getDefaultExportFromCjs as g };