-
Notifications
You must be signed in to change notification settings - Fork 490
SASS Support #92
Comments
Would it work to import the resulting .css files via an import, e.g. |
That does work - however, it would be nice to reference scss files from /node_modules in order to override scss variables |
Disregard - didn't have my head on straight. Referencing the .css files that then import the scss files works great. |
This is not a satisfactory solution from my perspective. It's frustrating and confusing to have duplicate .css and .scss files sitting in every project folder. Found a project which seems to implement it in a better way using sass-loader: Added to the package.json Added to the webpack.config.js UPDATE: just seen this pull request which seems to have what I need: UPDATE 2: I pushed to npm as: Which means you can start apps using: |
Question about SASS support.
If I follow the official SASS directions at
https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#adding-a-css-preprocessor-sass-less-etc
It seems as though scss files are still not able to be imported.
Is this some thing that should just work, or is ejecting still required if I want to use create-react-app-ts.
Thanks,
The text was updated successfully, but these errors were encountered: