Apr 15, 2023
0
Level 1
Vite not compiling @include in SASS
Hi, I am currently facing the issue that an imported SASS file does not "render" the "@include" in SASS files.
My JS file:
import '../sass/style.scss';
In the style.scss:
@import "init";
@import "components/components";
The _init.scss includes the imports for the mixins and functions. The components contain @include statements for some things. Those includes render classes which are not in the output file which is compiled by Vite.
Has anyone faced the same issue? Am I doing anything wrong?
Best regards
Please or to participate in this conversation.