Isomorphic React / extract-text-webpack-plugin, plugins removes all classNames and puts them into module.exports
Hoping someone can help me with this, I'm using extract-text-webpack-plugin to extract all css into a single file (From React CSS Modules).
But it's doing more than just that, it creates new classnames that it puts into its own module.exports, like so:
Obviously this is useless, because now it becomes dependent on JS to work on client side, to even show styling. Any ideas on how I can stop this from happing?
Here's my extract config bit: http://ift.tt/2v3Ozw1
Searched for two days on the internet now, can't figure it out. Any help appreciated.
Submitted July 15, 2017 at 10:15PM by Fithy
via reddit http://ift.tt/2uuRJfl