diff --git a/rollup.js b/rollup.js index 0f8458b939a..011f358d595 100644 --- a/rollup.js +++ b/rollup.js @@ -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 */` - // } - //}) ] };