I'm trying to start using scss instead of css in my React project with create-react-app.
I'm using this guide
Now my package.json looks like this
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "react-scripts build",
"build": "npm-run-all build-css build-js",
It creates css file from scss files but if I were to
import './App.scss';
In my App.jsx styles won't apply.
But they will work if I change it to import './App.css';
Is this suppose to happen? Is there a way to import scss files, not css?