mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
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
@ -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 New Issue
Block a user