Skip to content

Commit 864cdd5

Browse files
committed
add some compatibility options to uglifyjs:
• --v8 and --webkit for improved browser support, we will skip on --ie though I think • --no-module which is undocumented but may work around mishoo/UglifyJS#5967
1 parent f19b2be commit 864cdd5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: scripts/build-js.sh

+1
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ rm -rf src
110110
../scripts/smap-out.py dygraph.min.tmp.js /dev/null dygraph.min.tmp.js.map
111111

112112
uglifyjs \
113+
--no-module --v8 --webkit \
113114
--compress \
114115
--mangle \
115116
--output-opts "preamble='$header'" \

0 commit comments

Comments
 (0)