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

Import error with modules mode, composes and sass

Open amit1911 opened this issue 8 years ago • 2 comments

Please refer to the following for details https://github.com/webpack-contrib/css-loader/issues/131

Setting importLoaders: 2 seems to fix the issue. I tried this and it works for me.

amit1911 avatar Aug 17 '17 07:08 amit1911

Hey @amit1911, thanks for the issue. Cano you open a PR with the fix? Tnx!

kitze avatar Aug 17 '17 13:08 kitze

Hey @kitze, I am a bit new to webpack and all I know about this is from what I read in the issue. I am not sure if just setting importLoaders:2 is good enough. If you think this is all that is required, then I can submit a PR.

amit1911 avatar Aug 17 '17 13:08 amit1911