vite can't find sass variables
Hey guys, hope you're doing well. Today I faced with the problem, idk why it's happening, but here's the problem:
- I made a file, called _variables.scss
- put some custom variables there
- import that file to my global.scss
- import global file in my main.tsx
- try to use these variables inside of my components module.scss files and get an error - undefined variable
What am I doing wrong?
- I made a file, called _variables.scss
- put some custom variables there
- import that file to my global.scss
- import global file in my main.tsx
- try to use these variables inside of my components module.scss files and get an error - undefined variable
What am I doing wrong?



