Skip to content

Commit

Permalink
Merge pull request #53 from yaotutu/main
Browse files Browse the repository at this point in the history
chore: update Vite CSS preprocessor options for SCSS compilation
  • Loading branch information
EveSunMaple authored Nov 29, 2024
2 parents 2df2c57 + e193e93 commit 13d8ebc
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 13d8ebc

Please sign in to comment.