You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/heroku.md
+5
Original file line number
Diff line number
Diff line change
@@ -25,3 +25,8 @@ To deploy the app on Heroku:
25
25
git push heroku master
26
26
```
27
27
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.
0 commit comments