1
0
Fork 0

boom: Removed next() call from macro methods

This commit is contained in:
Joost De Cock 2018-08-05 13:09:09 +02:00
parent 7190c3a73d
commit c2d0063917
3 changed files with 14 additions and 11 deletions

View file

@ -2,7 +2,7 @@ import { terser } from "rollup-plugin-terser";
import babel from "rollup-plugin-babel";
import resolve from "rollup-plugin-node-resolve";
import json from "rollup-plugin-json";
import { name, version, description, author, license } from "./package.json";
import meta from "./package.json";
export default {
input: "src/index.js",
@ -13,11 +13,15 @@ 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 * ${meta.name} | v${meta.version}\n * ${
// meta.description
// }\n * (c) ${new Date().getFullYear()} ${meta.author}\n * @license ${
// meta.license
// }\n */`
// }
//})
]
};