1
0
Fork 0

wrench: No more rollup externals, see #1

This commit is contained in:
Joost De Cock 2019-02-14 15:57:34 +01:00
parent 89b4da63c9
commit 2e901f496e

View file

@ -14,14 +14,14 @@ export default {
json(),
babel({
exclude: "node_modules/**"
}),
terser({
output: {
preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
}
})
//terser({
// output: {
// preamble: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */`
// }
//})
],
external: ["freesewing", "@freesewing/plugin-bundle"],
//external: ["freesewing", "@freesewing/plugin-bundle"], // FIXME: See https://github.com/freesewing/patterns/issues/1
output: {
globals: {
freesewing: "freesewing"