Skip to content

Commit

Permalink
Use production NODE_ENV when deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
habbes committed Aug 4, 2018
1 parent 260c0b1 commit a05a712
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 @@ -11,7 +11,7 @@
"build": "npm run prep && webpack --config webpack.prod.js",
"watch": "npm run prep && webpack --config webpack.dev.js --watch",
"start": "npm run prep && webpack-dev-server --open --config webpack.dev.js",
"deploy": "npm run build && firebase deploy"
"deploy": "NODE_ENV=production && npm run build && firebase deploy"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit a05a712

Please sign in to comment.