Skip to content

Instantly share code, notes, and snippets.

@vikeri
Created December 6, 2019 16:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vikeri/180ae3d231f2b6e7c8c1154335cf61cd to your computer and use it in GitHub Desktop.
Save vikeri/180ae3d231f2b6e7c8c1154335cf61cd to your computer and use it in GitHub Desktop.
--- 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
Copy link

Thanks for sharing!

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