Created
September 20, 2016 19:01
-
-
Save nesbtesh/554e9fc8eeaf9780ab1bade950e5380b to your computer and use it in GitHub Desktop.
compile React with Webpack executable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -e | |
PATH=$(npm bin):$PATH | |
rm -rf ./dist | |
NODE_ENV=production | |
webpack --progress -p | |
COMPRESS=1 webpack | |
npm run deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment