Skip to content
This repository was archived by the owner on Jul 19, 2019. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
  • Loading branch information
ww2 authored Feb 10, 2017
commit 2b5a3fb1a8360442fd92e4f60193ff3db9d4500d
2 changes: 1 addition & 1 deletion lessons/11-productionish-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: '/'
},
Expand Down