-
Hi all, I am trying to override Bootstrap SaSS variables in a Vue3 project, and despite reading dozens of posts and trying everything I could think of I can't get this to work. vite build --debug doesn't have anything about sass or scss. Sass is installed:
My setup looks like this: main.js:
custom.scss:
The generated index.html has the expected style tags, but 123456 is nowhere to be found and the variable is not overriden.
vite.config.ts:
What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I really could use some help with this, is there any way to see what vite / sass are doing while compiling? vite --debug doesn't mention anything about running sass; and this bogus configuration doesn't trigger any error - it looks like preprocessorOptions is just ignored?
|
Beta Was this translation helpful? Give feedback.
-
Here is the configuration that works - using scss instead of sass as the key:
|
Beta Was this translation helpful? Give feedback.
Here is the configuration that works - using scss instead of sass as the key: