mirror of
https://github.com/mgerb/react-starter
synced 2026-01-11 09:32:51 +00:00
update webpack config for hot reloading
This commit is contained in:
@@ -68,6 +68,7 @@ module.exports = {
|
|||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
name: ['vendor', 'manifest'],
|
name: ['vendor', 'manifest'],
|
||||||
minChunks: 'Infinity'
|
minChunks: 'Infinity'
|
||||||
})
|
}),
|
||||||
|
new webpack.HotModuleReplacementPlugin(),
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user