Skip to content

Commit

Permalink
Merge pull request #7 from nolanlawson/gzip-9
Browse files Browse the repository at this point in the history
use gzip -9, add npm script
  • Loading branch information
nolanlawson authored Aug 20, 2016
2 parents 815ce48 + 65ae7d7 commit 68f0a7b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/print-sizes.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ for bundler in browserify browserify-collapsed webpack rollup closure rjs rjs-al
printf $bundler
printf '|'
for i in 100 1000 5000; do
printf "$(gzip -c dist/$bundler-${i}.min.js | wc -c)"
printf "$(gzip -9 -c dist/$bundler-${i}.min.js | wc -c)"
printf '|'
done
echo
done
done
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"publish-site": "bash bin/publish-site.sh",
"build": "bash bin/build.sh",
"prepublish": "npm run build",
"print-sizes": "bash bin/print-sizes.sh",
"serve": "serve -p 9000 --compress"
},
"dependencies": {
Expand Down

0 comments on commit 68f0a7b

Please sign in to comment.