-
Notifications
You must be signed in to change notification settings - Fork 380
Closed
Labels
Description
We can have a top level package.json that loads the /webpack/package.json.
This keeps the top level tidier.
From Heroku support:
I agree - as long as an extra root-level package.json is okay with you, it's probably a better bet to just use the officially supported buildpack. You can trigger sub-installs like this (in package.json):
"scripts": {
"postinstall": "cd ./client && npm install && cd ../server && npm install"
}
Also, I'd love to get your feedback on how that works with the upcoming version of the Node buildpack (codenamed "yoga"):
https://github.com/heroku/heroku-buildpack-nodejs/tree/yoga
If you decide to try it out, please let me know what you think!
Thanks,
Hunter