Skip to content

Commit

Permalink
fix: 消除控制台 Sass 警告
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Sep 26, 2024
1 parent 2e4b5bc commit e2fe1ab
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 @@ -19,7 +19,8 @@ export default defineConfig(({ command, mode }) => {
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "@/styles/var.scss";`
additionalData: `@import "@/styles/var.scss";`,
api: 'modern-compiler'
}
}
},
Expand Down

0 comments on commit e2fe1ab

Please sign in to comment.