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
Fix #318. Remove extra webpack.config.js change to path.
  • Loading branch information
merriam authored Mar 21, 2017
commit 3382255cddd5423f95ac779abe9df6e170235407
10 changes: 0 additions & 10 deletions lessons/11-productionish-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ scripts entry in package.json to look like this:
},
```

In the root directly, go open up `webpack.config.js` and add the publicPath '/' as per below:
```
// webpack.config.js
output: {
path: 'public',
filename: 'bundle.js',
publicPath: '/'
},
```

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`.
Expand Down