Skip to content

Commit

Permalink
add some compatibility options to uglifyjs:
Browse files Browse the repository at this point in the history
• --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
  • Loading branch information
mirabilos committed Jan 10, 2025
1 parent f19b2be commit 864cdd5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/build-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ rm -rf src
../scripts/smap-out.py dygraph.min.tmp.js /dev/null dygraph.min.tmp.js.map

uglifyjs \
--no-module --v8 --webkit \
--compress \
--mangle \
--output-opts "preamble='$header'" \
Expand Down

0 comments on commit 864cdd5

Please sign in to comment.