Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Support sass loader #243

Open
chriskuech opened this issue Dec 10, 2018 · 3 comments
Open

Support sass loader #243

chriskuech opened this issue Dec 10, 2018 · 3 comments

Comments

@chriskuech
Copy link

chriskuech commented Dec 10, 2018

In projects created by create-react-app with default settings, all that is required for importing sass is to install node-sass. The project automatically understands to add the sass loader, enabling import "./myFile.scss" syntax.

In create-react-app --scripts-version=react-scripts-ts, users are required to add another layer of file watchers, adding unnecessary complexity.

Please update webpack config in the generator to load any scss files with the sass loader, just as it currently does with css files and just ass the default generator does with scss files.

@peterremote1980
Copy link

after i npm i --save node-sass, but still failed.

@netojose
Copy link

Solution here: #43

@yashsway
Copy link

Solution here: #43

doesn't work

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants