Skip to content

Commit

Permalink
Add troubleshooting for issue 77
Browse files Browse the repository at this point in the history
  • Loading branch information
edygar committed Mar 10, 2015
1 parent 35902ed commit b9b0842
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ new webpack.optimize.UglifyJsPlugin({
})
```

#### Uncaught RangeError: Maximum call stack size exceeded

When using WebpackDevServer CLI flag `--hot`, the plugin `new HotModuleReplacementPlugin()` should not be used and vice ersa, they are mutually exclusive but the desired effect will work with any of them.

#### I can access my Single Page App (SPA) only via `/` on refresh

The problem is that by default **WebpackDevServer** doesn't deal with HTML5 History correctly and the server won't route the url as it should. You can fix this issue by setting `historyApiFallback: true`. Here's a full example:
Expand Down

0 comments on commit b9b0842

Please sign in to comment.