dumb-react icon indicating copy to clipboard operation
dumb-react copied to clipboard

It's possible to include Sass processing without ejecting

Open kmelve opened this issue 6 years ago • 3 comments

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)

kmelve avatar May 17 '18 06:05 kmelve

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. :-)

basher avatar May 17 '18 07:05 basher

Thanks for sharing!

bradfrost avatar May 23 '18 03:05 bradfrost

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.

gaearon avatar May 23 '18 12:05 gaearon