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
In this instance sass1.scss would not have access to the variables.json file. However sass2.scss will and the declarations will be made after fileC but before fileD is imported.
I'm not actually sure whether it's possible to use inline-loaders through the SCSS import statement. I'm curious to know if it's possible or if there is a way to make it possible.
The text was updated successfully, but these errors were encountered:
The documented config means that the
scssVars.json
file would be included for every loaded SCSS file and always at the start.Is there a way to declare the loader inline so you can control when and where it is imported? So something like:
sass1.scss
sass2.scss
In this instance
sass1.scss
would not have access to thevariables.json
file. Howeversass2.scss
will and the declarations will be made afterfileC
but beforefileD
is imported.I'm not actually sure whether it's possible to use inline-loaders through the SCSS import statement. I'm curious to know if it's possible or if there is a way to make it possible.
The text was updated successfully, but these errors were encountered: