I have a query about whether it is necessary to first compile our scss files into css and then import the css files into our react components, or if we can simply import the scss directly into the components?
I've successfully imported scss directly ever since we upgraded to react-scripts version 2 (which includes sass-loader support), but are there any drawbacks to importing scss files directly?
Currently, our setup involves watching for changes in scss files and using node-sass-chokidar to compile them into css before importing the css files. However, I am considering changing this approach so that we don't end up with a multitude of css and scss files cluttering the same folder level.
Your insights would be appreciated. Thank you.