Codacy update for scripts

This commit is contained in:
Angelos Chalaris
2018-09-15 14:27:30 +03:00
parent 9b4ec80210
commit a90e7b58f9
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] });