Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/iden3/snarkjs into fresh
Browse files Browse the repository at this point in the history
  • Loading branch information
nalinbhardwaj committed Jan 22, 2022
2 parents c7ccaf7 + d92a9fa commit b214d28
Show file tree
Hide file tree
Showing 3 changed files with 1,228 additions and 3,094 deletions.
9 changes: 2 additions & 7 deletions config/rollup.iife.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { nodeResolve } from "@rollup/plugin-node-resolve";
import commonJS from "@rollup/plugin-commonjs";
import inject from "@rollup/plugin-inject";
import virtual from "@rollup/plugin-virtual";
import replace from "@rollup/plugin-replace";
import visualizer from "rollup-plugin-visualizer";
Expand All @@ -25,8 +24,6 @@ export default {
crypto: empty,
readline: empty,
ejs: empty,
// Stub out a "global" module that we can inject later
global: empty,
}),
nodeResolve({
browser: true,
Expand All @@ -35,12 +32,10 @@ export default {
}),
commonJS(),
replace({
// The current default is false, but they are changing it next version
preventAssignment: false,
"process.browser": !!process.env.BROWSER
}),
inject({
// Inject the "global" virtual module if we see any reference to `global` in the code
global: "global",
}),
visualizer(),
]
};
Loading

0 comments on commit b214d28

Please sign in to comment.