1
0
Fork 0

📦 Updated rollup config to include terser

This commit is contained in:
Joost De Cock 2018-08-13 11:05:37 +02:00
parent 79e93a45c9
commit 98118d48ba

View file

@ -15,11 +15,11 @@ export default {
commonjs(),
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 */`
// }
//})
]
};