Skip to content

Commit

Permalink
Fixed #93: Build lib files using the production env.
Browse files Browse the repository at this point in the history
  • Loading branch information
n1k0 committed Mar 24, 2016
1 parent 80d9d84 commit 1055568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"build:readme": "toctoc README.md -w",
"build:css": "cp css/react-jsonschema-form.css dist/",
"build:lib": "rimraf lib && babel -d lib/ src/",
"build:lib": "rimraf lib && NODE_ENV=production babel -d lib/ src/",
"build:dist": "rimraf dist && NODE_ENV=production webpack --config webpack.config.dist.js --optimize-minimize",
"build:playground": "rimraf build && NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html",
"dist": "npm run build:lib && npm run build:dist && npm run build:css",
Expand Down

0 comments on commit 1055568

Please sign in to comment.