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
After I got the issue resolved in #18, now the variables are not getting passed to any .scss files.
Undefined variable: "$env".
sass-js-vars.js
module.exports = {
env: METADATA.ENV, // doesnt work even thought this value exists
};
scss file
// Set the default environment for all scss files to refer to$dev: false;
// Env variable - coming from Sass-Vars-Loader@if$env=='development' {
$dev: true;
}
Nevermind, I had an error, it works now. I forgot to update one section of my loaders to use the sassVarsConfig as a loader option instead of a querystring. :-D
After I got the issue resolved in #18, now the variables are not getting passed to any .scss files.
sass-js-vars.js
scss file
Worked fine in 2.x, not 3.x
If i switch to
The error is the same, for some reason its not getting passed into my scss files. Any ideas?
The text was updated successfully, but these errors were encountered: