How to deploy MERN project using webpack
|Added at||2017-01-01 17:01|
I use the following project which use webpack https://github.com/Hashnode/mern-starter
I want to deploy it (to prod) i get error
Error: Cannot find module './dist/manifest.json' This error is coming from https://github.com/Hashnode/mern-starter/blob/master/index.js
But I dont see the dist folder in the project, why, and how should I build it?
I believe that the Dist folder should be created during the build time (manification etc) so how should I trigger it ?
This is the package.json
I think that the start:prod should trigger it in the webpack but its not happing ...any idea ?