Skip to content

Commit fd321c0

Browse files
committed
heroku round 2
1 parent a7eb05f commit fd321c0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Procfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
web: npm run setup && npm run build && npm run server
1+
web: npm run server

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"watch-client": "parcel watch client/public/index.html",
1515
"clean": "rm -rf .cache && rm -rf dist",
1616
"assets": "cp -r ./client/public/assets ./dist/assets",
17-
"setup": "npm run clean && mkdir dist && npm run assets"
17+
"setup": "npm run clean && mkdir dist && npm run assets",
18+
"heroku-postbuild": "npm run setup && npm run build"
1819
},
1920
"repository": {
2021
"type": "git",

0 commit comments

Comments
 (0)