forked from mystiq/hydrogen-web
fix build
This commit is contained in:
parent
03351d2e1f
commit
22a88d06b4
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue