Skip to content

Commit b1cda6a

Browse files
committed
chore(projects)!: update scss config
1 parent 9fb722d commit b1cda6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ export default defineConfig(configEnv => {
2222
css: {
2323
preprocessorOptions: {
2424
scss: {
25-
additionalData: `@use "./src/styles/scss/global.scss" as *;`
25+
api: 'modern-compiler',
26+
additionalData: `@use "@/styles/scss/global.scss" as *;`
2627
}
2728
}
2829
},

0 commit comments

Comments
 (0)