Skip to content

Commit b311cc1

Browse files
committed
Update heroku.md
1 parent 310e076 commit b311cc1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/heroku.md

+5
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ To deploy the app on Heroku:
2525
git push heroku master
2626
```
2727

28+
29+
## GOTCHA: Use "dependencies" and not "devDependencies" for anything deployment related
30+
31+
Be sure to put all normall "dev only" tools in "dependencies" and not "devDependencies" in your `client/package.json`. This is because the Heroku default buildpack will only install what's in "dependencies". So only use `npm --save-dev` for things like linters and anything **only** related to the Webpack Dev Server.
32+

0 commit comments

Comments
 (0)