fix(webpack): extract css breaks hmr and source-maps (#5906)

This commit is contained in:
Alexander Lichter 2019-06-14 19:33:45 +02:00 committed by Pooya Parsa
parent 2a2bf9b93d
commit 3d80ef472e

View File

@ -88,7 +88,9 @@ export default class StyleLoader {
loader: ExtractCssChunksPlugin.loader,
options: {
// TODO: https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/132
reloadAll: true
// https://github.com/faceyspacey/extract-css-chunks-webpack-plugin/issues/161#issuecomment-500162574
reloadAll: true,
hot: true
}
}
}