Skip to content

Commit

Permalink
chore(projects)!: update scss config
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Sep 21, 2024
1 parent 9fb722d commit b1cda6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ export default defineConfig(configEnv => {
css: {
preprocessorOptions: {
scss: {
additionalData: `@use "./src/styles/scss/global.scss" as *;`
api: 'modern-compiler',
additionalData: `@use "@/styles/scss/global.scss" as *;`
}
}
},
Expand Down

0 comments on commit b1cda6a

Please sign in to comment.