This issue is not yet resolved and I need help here. HELP!
My Question is: How do you setup webpack sass-loader with css-loader, setup to do css modules, to prevent duplicate imports?
Can anyone point me out how can I start resolving this?
optimize-css-assets-webpack-plugin
This is what finally ended up working for me. I swapped out the cssnano step from post-css, and let optimize-css-assets handle it for me.
Im guessing your project has long since shipped (I hope) but others who search for this might find it helpful.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With