Skip to content

Commit

Permalink
chore: update Vite CSS preprocessor options for SCSS compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
yaotutu committed Nov 23, 2024
1 parent 2df2c57 commit e193e93
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,13 @@ export default defineConfig({
}
]],
},
vite: {
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler',
},
},
},
},
});

0 comments on commit e193e93

Please sign in to comment.