leinelissen/laravel-mix-react-css-modules

Possible to include a global SASS-File?

Opened this issue · 1 comments

Hello,

is it possible to include a global .scss file (with variables and mixins) and use the variables/mixins in a styles.module.scss file?

Yes! You can create a global file and a set of mix-ins, and then import them in each individual CSS Module file using the SASS-standard @import rule (see https://sass-lang.com/documentation/at-rules/import).