Skip to content

Commit

Permalink
Merge 12e4f7e into 876e59a
Browse files Browse the repository at this point in the history
  • Loading branch information
amCap1712 committed Jan 17, 2018
2 parents 876e59a + 12e4f7e commit 150d7e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/build-client-js.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,16 @@ cross-env BABEL_ENV="browser" browserify -t [babelify] \
-o ../../../static/js/revision.js \
-o ../../../static/js/search.js \
] > ../../../static/js/bundle.js

uglifyjs -cm -- ../../../static/js/entity-editor.js | gzip --best > ../../../static/js/entity-editor.js.gz
uglifyjs -cm -- ../../../static/js/editor/edit.js | gzip --best > ../../../static/js/editor/edit.js.gz
uglifyjs -cm -- ../../../static/js/editor/achievement.js | gzip --best > ../../../static/js/editor/achievement.js.gz
uglifyjs -cm -- ../../../static/js/editor/editor.js | gzip --best > ../../../static/js/editor/editor.js.gz
uglifyjs -cm -- ../../../static/js/entity/entity.js | gzip --best > ../../../static/js/entity/entity.gz
uglifyjs -cm -- ../../../static/js/deletion.js | gzip --best > ../../../static/js/deletion.js.gz
uglifyjs -cm -- ../../../static/js/index.js | gzip --best > ../../../static/js/index.js.gz
uglifyjs -cm -- ../../../static/js/registrationDetails.js | gzip --best > ../../../static/js/registrationDetails.js.gz
uglifyjs -cm -- ../../../static/js/revision.js | gzip --best > ../../../static/js/revision.js.gz
uglifyjs -cm -- ../../../static/js/search.js | gzip --best > ../../../static/js/search.js.gz
uglifyjs -cm -- ../../../static/js/bundle.js | gzip --best > ../../../static/js/bundle.js.gz
popd

0 comments on commit 150d7e1

Please sign in to comment.