From 2b5a3fb1a8360442fd92e4f60193ff3db9d4500d Mon Sep 17 00:00:00 2001 From: Wes Price Date: Fri, 10 Feb 2017 09:50:44 -1000 Subject: [PATCH] Fixing typo in first webpack.config.js The first example webpack.config.js has the publicPath set to '/' and the path set to 'public'; since Express hasn't yet been configured to serve files from 'public', that configuration prevents Express from serving index.html (which hasn't been moved yet). Changing path to '' in that example fixes the issue at that point. --- lessons/11-productionish-server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lessons/11-productionish-server/README.md b/lessons/11-productionish-server/README.md index 30582eba..d75d3185 100644 --- a/lessons/11-productionish-server/README.md +++ b/lessons/11-productionish-server/README.md @@ -31,7 +31,7 @@ In the root directly, go open up `webpack.config.js` and add the publicPath '/' ``` // webpack.config.js output: { - path: 'public', + path: '', filename: 'bundle.js', publicPath: '/' },