Codacy update for scripts

This commit is contained in:
Angelos Chalaris
2018-09-15 14:27:30 +03:00
parent d47508a3a4
commit c48b2487c1
4 changed files with 4 additions and 10 deletions

View File

@ -16,7 +16,7 @@ if (!fs.existsSync(DIST)) fs.mkdirSync(DIST);
const es5 = babel({ presets: [['env', { modules: false }]] });
const min = minify({ comments: false });
// Create the bundles
(async () => {
(async() => {
const bundle = await rollup({ input: INPUT_FILE });
const bundleES5 = await rollup({ input: INPUT_FILE, plugins: [es5] });
const bundleMin = await rollup({ input: INPUT_FILE, plugins: [min] });