fix build

This commit is contained in:
Bruno Windels 2020-10-26 15:56:06 +01:00
parent 03351d2e1f
commit 22a88d06b4

View File

@ -175,7 +175,7 @@ async function buildJs(mainFile, extraFiles = []) {
// create js bundle // create js bundle
const bundle = await rollup({ const bundle = await rollup({
input: extraFiles.concat(mainFile), input: extraFiles.concat(mainFile),
plugins: [removeJsComments({comments: "none"})] plugins: [multi(), removeJsComments({comments: "none"})]
}); });
const {output} = await bundle.generate({ const {output} = await bundle.generate({
format: 'es', format: 'es',