aboutsummaryrefslogtreecommitdiff
path: root/min
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2023-12-29 09:52:03 +0000
committerJuan J. Martinez <jjm@usebox.net>2023-12-29 09:52:03 +0000
commit49d733c84dc142ca34aa4bec3a6f66203018d822 (patch)
tree77f8425209f2da4e905d6a4d4fb2e9c305e107e4 /min
parentcc69545497a0c4f0cc64e298f2b206dae083fc17 (diff)
downloadjs-canvas-2023-49d733c84dc142ca34aa4bec3a6f66203018d822.tar.gz
js-canvas-2023-49d733c84dc142ca34aa4bec3a6f66203018d822.zip
Put back optimisations, prevent closure compiler from breaking code
Diffstat (limited to 'min')
-rwxr-xr-xmin2
1 files changed, 1 insertions, 1 deletions
diff --git a/min b/min
index 07e92e0..8de3c24 100755
--- a/min
+++ b/min
@@ -1,4 +1,4 @@
#!/bin/bash
mkdir -p out
-java -jar ./tools/closure-compiler-v20231112.jar --js js/**.js --language_out ECMASCRIPT_2016 --js_output_file out/game.min.js
+java -jar ./tools/closure-compiler-v20231112.jar --compilation_level ADVANCED_OPTIMIZATIONS --js js/**.js --language_out ECMASCRIPT_2016 --js_output_file out/game.min.js