Skip to content
This repository has been archived by the owner on Sep 29, 2019. It is now read-only.

Commit

Permalink
add heroku-postbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Anjie Li authored and Anjie Li committed Feb 7, 2019
1 parent d59daec commit 31b503f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm run build && npm run start
web: npm run start
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "webpack-dev-server --mode development --open --hot",
"build": "webpack",
"start": "node server.js"
"start": "node server.js",
"heroku-postbuild": "webpack -p"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 31b503f

Please sign in to comment.