First private release. Check updated README.md for details
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -30,13 +30,14 @@ export function createConfig({ pkg, external = [] }) {
|
||||
},
|
||||
strictDeprecations: true,
|
||||
output: [
|
||||
{
|
||||
format: 'cjs',
|
||||
file: pkg.main,
|
||||
exports: 'named',
|
||||
footer: 'module.exports = Object.assign(exports.default, exports);',
|
||||
sourcemap: true
|
||||
},
|
||||
// TODO: cjs output not supported for now
|
||||
// {
|
||||
// format: 'cjs',
|
||||
// file: pkg.main,
|
||||
// exports: 'named',
|
||||
// footer: 'module.exports = Object.assign(exports.default, exports);',
|
||||
// sourcemap: true
|
||||
// },
|
||||
{
|
||||
format: 'es',
|
||||
file: pkg.module,
|
||||
@@ -57,7 +58,6 @@ export function createConfig({ pkg, external = [] }) {
|
||||
...commonOpts,
|
||||
babelHelpers: "bundled",
|
||||
}),
|
||||
// typescript({ sourceMap: true })]
|
||||
]
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user