dumb-react
dumb-react copied to clipboard
It's possible to include Sass processing without ejecting
Good news @bradfrost! You no longer need to eject CRA in order to get some of that sweet Sass compiling going on.
Take a peek at the documentation.
(It's also interesting to see some of @gaearon’s headaches including it)
I was going to suggest the same thing...
I just started using "node-sass-chokidar" on a current project. All the Sass is in a single "styles" folder (instead of importing Sass partials inside each JSX/JS component). This probably isn't the correct architecture for a React app, but it works, and allows CSS devs to do stuff the way they always have. :-)
Thanks for sharing!
To be clear it's not a new thing, it's been in the documentation for a year or more :-)
In 2.x it'll be more seamless but for now this works, yeah.