Skip to content

Commit

Permalink
Fix build error caused by upstream change from uglify-js (evancz#251)
Browse files Browse the repository at this point in the history
* This patch was originally written for `elm-jp/guide` by @negiboudu san
  • Loading branch information
lettenj61 committed Jul 20, 2020
1 parent 3d0d7ce commit a122705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repl/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fi
./elm make src/Repl.elm --optimize --output=elm.js

./node_modules/.bin/uglifyjs elm.js --compress "pure_funcs=[F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9],pure_getters,keep_fargs=false,unsafe_comps,unsafe" \
| ./node_modules/.bin/uglifyjs --mangle --output=assets/repl.js
| ./node_modules/.bin/uglifyjs --mangle --output assets/repl.js

echo "Initial size: $(cat elm.js | wc -c) bytes"
echo "Minified size:$(cat assets/repl.js | wc -c) bytes"
Expand Down

0 comments on commit a122705

Please sign in to comment.