Open martingaston opened 5 years ago
https://github.com/fac-14/Brickworks-Tollington_Project/blob/913516adab6bd0474a086aa6e151d46eecf4c50d/package.json#L8
If Heroku runs your start script to setup it will start an Express server but I'm not sure it will build the dist folder to be served - you might want to chain the two commands together parcel build index.html && node src/index.js
dist
parcel build index.html && node src/index.js
We actually don't use start. We use npm run dev
https://github.com/fac-14/Brickworks-Tollington_Project/blob/913516adab6bd0474a086aa6e151d46eecf4c50d/package.json#L8
If Heroku runs your start script to setup it will start an Express server but I'm not sure it will build the
dist
folder to be served - you might want to chain the two commands togetherparcel build index.html && node src/index.js