Open
Description
Describe the bug
Import the global variable in Vite, when the variable is used in another file, the prompt invalidates
To Reproduce
Steps to reproduce the behavior:
- The scss file of a global variable is configured in vite
- Use global variables in other scss files
3.Yes, it's wrong
Expected behavior
It should make no errors and parse the scss file correctly
Screenshots
global variable file(global variable are defined )
head.scss(using global variable)
After importing, using it throws an error
I put the variable in the head file and it worked fine
Desktop (please complete the following information):
- OS: Windows
- node Version: v20.11.1