nixpkgs-suyu/pkgs/development/interpreters/clojurescript/lumo/no_mangle.patch
2020-02-19 23:16:40 +01:00

13 lines
347 B
Diff

diff --git a/scripts/bundle.js b/scripts/bundle.js
index 16425a4..0d510fc 100644
--- a/scripts/bundle.js
+++ b/scripts/bundle.js
@@ -73,6 +73,8 @@ const plugins = [
if (!isDevBuild) {
plugins.push(
babelMinify({
+ evaluate: false,
+ mangle: false,
comments: false,
removeConsole: true,
removeDebugger: true,