Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
--- worker.js 2019-12-05 18:53:48.000000000 -0800
+++ worker.js.orig 2019-12-05 18:53:30.000000000 -0800
@@ -268,10 +268,6 @@
plugins.push([inlineRequiresPlugin, opts]);
}
- if (!options.dev) {
- plugins.push([constantFoldingPlugin, opts]);
- }
-
plugins.push([inlinePlugin, opts]);
var _transformFromAstSync = transformFromAstSync(ast, "", {
@olivergeorge

This comment has been minimized.

Copy link

@olivergeorge olivergeorge commented Dec 16, 2019

Thanks for sharing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment