Open YuraKolesnikov opened 3 years ago
Thank you very much, it works! But I've encountered the next problem, which was on old project, which led me to the Razzle - multiple imports. I can't understand why React can't handle css modules like Vue and optimize them. It seems like every import of component to component causes another import of propertySets.scss which can potentially lead to hundreds of imports, devtools are lagging and it's impossible to work. Problem is only in dev.
Try setting staticCssInDev
Nope, the problem is still there
Using additionalData?
Yup!
❓Question
Guys, could you please help me to prepend global scss with razzle 4.1.0
package.json
razzle.config.js
When I start dev-server, I get this error: