You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2019. It is now read-only.
The text was updated successfully, but these errors were encountered:
iongion
changed the title
Webpack 4 help - using in conjunction with mini-css-extract-plugin
Webpack 4 help - using in conjunction with mini-css-extract-plugin
Mar 9, 2018
This problem should fixed in mini-css-extract-plugin. I tried mini-css-extract-plugin with css-hot-loader, when css changed, css-hot-loader will reload css ,but this css file not changed.
So, I remove the css-hot-loader plugin, then change css file, reload the css file manual. But The css context not change too. So this is not the problem of css-hot-loader.
Webpack 4 has issues with the extract text plugin
https://github.com/webpack-contrib/extract-text-webpack-plugin/issues
So now, the recommended solution is to use
mini-css-extract-plugin
, but that one does not work with the hot reload.I have attached a zip with sample use, I do not know where the issues lies, in
css-hot-loader
ormini-css-extract-plugin
react-demo.zip
The text was updated successfully, but these errors were encountered: