You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe alternatives you've considered
I tried to prepend scss code by using transforms options of vite.config.js but the code were already preprocessed.
Adding transforms which can apply before the preprocess maybe better.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Writing
@import '/src/common.scss'
on every.vue
file is frustrating.Describe the solution you'd like
Add a property to prepend scss/less code in
vite.config.js
just like sass-loader'sadditionalData
.sass-loader's
additionalData
optionsless-loader's
appendData
optionsDescribe alternatives you've considered
I tried to prepend scss code by using
transforms
options ofvite.config.js
but the code were already preprocessed.Adding
transforms
which can apply before the preprocess maybe better.The text was updated successfully, but these errors were encountered: