Getting Undefined variable error when compiling SCSS using node-sass
convert all file names with beginning "_"
example:
typography.scss >> to >> _typography.scss
Looks like there are two errors in your code above:
- You import
"abstracts/variables"
but, at least in the text, the file name seems to be_variables.scss
(missing an "s") - You should import
"abstracts/variables"
before everything else.
Like that:
@import "abstracts/variables";
@import "base/typography";