custom-react-scripts icon indicating copy to clipboard operation
custom-react-scripts copied to clipboard

Upgrade style-loader to v0.21.0 to enable HMR for css modules

Open holtat opened this issue 7 years ago • 1 comments

I've upgraded style-loader to address issue #144 where using CSS modules would not allow for HMR.

Here is the PR that was merged to allow for CSS modules to work with HMR on style-loader for reference: https://github.com/webpack-contrib/style-loader/pull/298

I don't know of any breaking changes this update would cause.

holtat avatar Jul 27 '18 00:07 holtat

It looks like this package is out of date on the master branch of create-react-app as well, but up to date on the next branch.

I'm not sure what's preferred. Should I try to update this fork with the next branch of create-react-app?

holtat avatar Jul 27 '18 00:07 holtat