You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Sass in a Create React App project. I have a master.scss file with global var's, I would like to use those var's globally... (I don't want to @import "master" in every scss file ), Any other ideas how to make it globally available ?
The text was updated successfully, but these errors were encountered:
thetandelsonesh
changed the title
Any new suggestions?
How to make varaible.scss globally available without ejecting CRA2
Nov 28, 2018
thetandelsonesh
changed the title
How to make varaible.scss globally available without ejecting CRA2
How to make _variable.scss globally available without ejecting CRA2
Nov 28, 2018
Hi @thetandelsonesh, I don't think that is possible right now sorry, it's not a standard Sass feature and isn't available in sass-loader. Feel free to raise a PR if you can see a clean way of doing this.
I'm using Sass in a Create React App project. I have a
master.scss
file with global var's, I would like to use those var's globally... (I don't want to@import "master"
in every scss file ), Any other ideas how to make it globally available ?Originally posted by @m-salamon in #1619 (comment)
The text was updated successfully, but these errors were encountered: