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
Thus you can import your Sass modules from node_modules. Just prepend them with a ~ to tell webpack that this is not a relative import
So, I'm using React Toolbox for my components and they recommend to add this loader. I added to my webpack.development.config but when I run this, the styles are not loaded.
i'm seeing this too with "node-sass": "^4.4.0" (and 4.5.0 as of today, just tested) - when i switch back to node-sass@^3.13.1 it works again. i've also tried setting includeDirectories in my sass-loader query per comments here but it didn't help.
Sorry, there is not enough information to reproduce this. Please provide a minimal test repository that demonstrates the problem so I can check that out. Try to remove as much stuff as possible since it helps tracking down the problem.
In documentation says:
So, I'm using React Toolbox for my components and they recommend to add this loader. I added to my webpack.development.config but when I run this, the styles are not loaded.
My web pack.development.config code is:
The text was updated successfully, but these errors were encountered: