Open sthzg opened 7 years ago
Add a short section with infos about building and deploying. Nothing detailed, but just a reminder that
npm run dist
./dist
npm run server:dist
webpack-dev-server
This issue originates from https://github.com/react-webpack-generators/generator-react-webpack/issues/301#issuecomment-262473874 and https://github.com/react-webpack-generators/generator-react-webpack/issues/300#issuecomment-261157668.
Add a short section with infos about building and deploying. Nothing detailed, but just a reminder that
npm run dist
creates the files in the./dist
directorynpm run server:dist
makes use of thewebpack-dev-server
and (because of that) is only meant for testing and not running in productionThis issue originates from https://github.com/react-webpack-generators/generator-react-webpack/issues/301#issuecomment-262473874 and https://github.com/react-webpack-generators/generator-react-webpack/issues/300#issuecomment-261157668.