Skip to content

Commit

Permalink
this is twice as big as I'd like it to be ...
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanflorence committed Oct 30, 2014
1 parent 02f63c0 commit 9804a78
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/build
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
mkdir -p dist
NODE_ENV=production node_modules/.bin/browserify modules/index.js -t browserify-shim -t envify --detect-globals false -s ReactRouter > dist/react-router.js
node_modules/.bin/uglifyjs dist/react-router.js --compress warnings=false > dist/react-router.min.js
echo "gzipped, the global build is:"
echo "`gzip -c dist/react-router.min.js | wc -c` bytes"

0 comments on commit 9804a78

Please sign in to comment.