Skip to content

Commit

Permalink
- further minimize js file with mangling and compression options.
Browse files Browse the repository at this point in the history
  • Loading branch information
zbryikt committed Jan 19, 2022
1 parent 52cc400 commit a926175
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo "build src/font.styl -> dist/index.css ..."
echo "build src/index.styl ->> dist/index.css ..."
./node_modules/.bin/stylus -p src/index.styl >> dist/index.css
echo "minifying index.js ..."
./node_modules/.bin/uglifyjs dist/index.js > dist/index.min.js
./node_modules/.bin/uglifyjs dist/index.js -m -c > dist/index.min.js
echo "minifying index.css ..."
./node_modules/.bin/uglifycss dist/index.css > dist/index.min.css
echo "copy dist files to web ..."
Expand Down
2 changes: 1 addition & 1 deletion dist/index.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a926175

Please sign in to comment.