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.
In projects created by
create-react-app
with default settings, all that is required for importing sass is to installnode-sass
. The project automatically understands to add the sass loader, enablingimport "./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 withcss
files and just ass the default generator does withscss
files.