-
Notifications
You must be signed in to change notification settings - Fork 489
Sass support as in create-react-app >=2.0 #415
Comments
Tried with yarn create react-app --scripts-version=react-scripts-ts@4.0.8 and Sass is working like a charm. Thanks! |
I already created an app, so I just upgraded my package.json to have "react-scripts-ts": "4.0.8" and it's working now. Except that npm start now launches the browser before it's finished compiling and I have to manually refresh the browser once compilation has completed. Is there a way to stop it from launching the browser automatically in npm-start, or at least fix it so the browser actually refreshes once compilation is complete? |
@StJohn3D adding a |
@elektronik2k5 Thanks for that, good stuff to know. Fortunately it started working again last night so for now I'll just leave well-enough alone. |
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Not tried
npm -v
6.1.0
Which terms did you search for in User Guide?
sass / scss
Environment
npm ls react-scripts-ts
react-tstemplate@0.1.0 C:<omitted>
`-- react-scripts-ts@2.17.0
node -v
v10.2.1
yarn --version
1.7.0
OS: Windows
Steps to Reproduce
Expected Behavior
react-scripts-ts should behave same as react-scripts (version >=2.0) and correctly import .scss / .sass files
Actual Behavior
Sass files have no effect
Reproducible Demo
https://github.com/Meyhem/react-scripts-ts-scss-bug-demo
The text was updated successfully, but these errors were encountered: