3 ms·
You do not need to commit your build to git if you are using heroku. If you add the nodejs buildpack to your heroku project, it should detect and build your pa
by tarr11 9y ago
You do not need to commit your build to git if you are using heroku.
If you add the nodejs buildpack to your heroku project, it should detect and build your package.json automatically on heroku. Works with both yarn and npm.
You just need to make sure to set NODE_ENV=production in your heroku config.
https://devcenter.heroku.com/articles/nodejs-support#build-behavior https://devcenter.heroku.com/articles/nodejs-support#build-b...