Skip to content
This repository was archived by the owner on Jun 7, 2021. It is now read-only.

Commit 9d84fcf

Browse files
committed
Added some info about the historyApiFallback
1 parent e5e1c8f commit 9d84fcf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/webpack.dev.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ module.exports = webpackMerge(commonConfig, {
112112

113113
// HTML5 History API support: no need for # in URLs
114114
// automatically redirect 404 errors to the index.html page
115+
// uses connect-history-api-fallback behind the scenes: https://github.com/bripkens/connect-history-api-fallback
116+
// reference: http://jaketrent.com/post/pushstate-webpack-dev-server/
115117
historyApiFallback: true,
116118

117119
// file watch configuration

0 commit comments

Comments
 (0)