I have a project with multiple components that are using scss.
I want to create a single file that stores all my variables and mixins globally that can then be used by any other scss file in my project. How is this possible without having to manually import the file into every scss file that i make?
I've tried making the index.css into a scss file and moved all my variables and mixins there. But nothing really changed. I'm currently using scss modules in my components. Is there perhaps a better way?
my folder structure
assets/
sass/
_variables.scss
_mixins.scss
Components/
.../
componentName.js
name.module.scss
index.css
index.js
App.js