mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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
|
||||
const rollupConfig = {
|
||||
input: inputFiles,
|
||||
plugins: [multi(), commonjs(), nodeResolve(), babelPlugin, removeJsComments({comments: "none"})]
|
||||
plugins: [multi(), commonjs(), nodeResolve(), babelPlugin]
|
||||
};
|
||||
const bundle = await rollup(rollupConfig);
|
||||
const {output} = await bundle.generate({
|
||||
|
@ -1,3 +1,2 @@
|
||||
//import aesjs from "../lib/aes-js/index.js";
|
||||
let aesjs = "aesjs";
|
||||
import aesjs from "../lib/aes-js/index.js";
|
||||
export const legacyExtras = {aesjs};
|
||||
|
Loading…
Reference in New Issue
Block a user