wrench: No more rollup externals, see #1
This commit is contained in:
parent
89b4da63c9
commit
2e901f496e
1 changed files with 6 additions and 6 deletions
|
@ -14,14 +14,14 @@ export default {
|
||||||
json(),
|
json(),
|
||||||
babel({
|
babel({
|
||||||
exclude: "node_modules/**"
|
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: {
|
output: {
|
||||||
globals: {
|
globals: {
|
||||||
freesewing: "freesewing"
|
freesewing: "freesewing"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue