SASS configuration for vite 5.4.11

Hey guys, I am migrating from vite 4.5.5 to 5.4.11 and upgraded SASS package to 1.81.0. I am following SASS 7-1 folder structure and partials in those folders are interdependent and must use content in one partial in other. I am also providing preprocessorOptions as preprocessorOptions: { scss: { silenceDeprecations: ["legacy-js-api"], additionalData: @use "sass:map"; @use "sass:color"; @use "@/assets/styles/abstracts/_variables" as ; @use "@/assets/styles/abstracts/_functions" as; @use "@/assets/styles/abstracts/_mixins" as *; } } now I am facing circular dependency error which I was'nt facing previously when I was using vite 4.5.5 . Do I have to change in configuration or pass some additional data to avoid the circular dependency?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server