mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-10 12:00:17 +08:00
Backport https://github.com/gaearon/react-hot-boilerplate/commit/58dddfd80d7a39083195a8da68849b5c898d9e8c
This commit is contained in:
@@ -19,7 +19,7 @@ module.exports = {
|
||||
debug: true,
|
||||
devtool: false,
|
||||
entry: [
|
||||
'webpack/hot/dev-server',
|
||||
'webpack/hot/only-dev-server',
|
||||
'./src/scripts/components/<%= pkg.mainInput %>.jsx'
|
||||
],
|
||||
|
||||
@@ -52,7 +52,8 @@ module.exports = {
|
||||
},
|
||||
|
||||
plugins: [
|
||||
new webpack.HotModuleReplacementPlugin()
|
||||
new webpack.HotModuleReplacementPlugin(),
|
||||
new webpack.NoErrorsPlugin()
|
||||
]
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user