diff --git a/lessons/11-productionish-server/README.md b/lessons/11-productionish-server/README.md index 30582eba..12842eb2 100644 --- a/lessons/11-productionish-server/README.md +++ b/lessons/11-productionish-server/README.md @@ -37,6 +37,13 @@ In the root directly, go open up `webpack.config.js` and add the publicPath '/' }, ``` +Now you will need to change the html since you changed the path to the output folder of the +bundle.js above. Go to index.html and change '/bundle.js' to '/public/bundle.js' as per below: +``` + + +``` + When you run `npm start` it checks if the value of our `NODE_ENV` environment variable is `production`. If yes, it runs `npm run start:prod`, if not, it runs `npm run start:dev`.