forked from mystiq/hydrogen-web
turns out that rollup-plugin-cleanup doesn't like line 259 in aes-js
so don't remove comments for now in the legacy build
This commit is contained in:
parent
77a21c08eb
commit
ab01c903a6
2 changed files with 2 additions and 3 deletions
|
@ -244,7 +244,7 @@ async function buildJsLegacy(inputFile, outputName, extraFile, polyfillFile) {
|
||||||
// create js bundle
|
// create js bundle
|
||||||
const rollupConfig = {
|
const rollupConfig = {
|
||||||
input: inputFiles,
|
input: inputFiles,
|
||||||
plugins: [multi(), commonjs(), nodeResolve(), babelPlugin, removeJsComments({comments: "none"})]
|
plugins: [multi(), commonjs(), nodeResolve(), babelPlugin]
|
||||||
};
|
};
|
||||||
const bundle = await rollup(rollupConfig);
|
const bundle = await rollup(rollupConfig);
|
||||||
const {output} = await bundle.generate({
|
const {output} = await bundle.generate({
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
//import aesjs from "../lib/aes-js/index.js";
|
import aesjs from "../lib/aes-js/index.js";
|
||||||
let aesjs = "aesjs";
|
|
||||||
export const legacyExtras = {aesjs};
|
export const legacyExtras = {aesjs};
|
||||||
|
|
Loading…
Reference in a new issue