Skip to content

Commit

Permalink
Change Vite config to use the sass modern compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Sep 22, 2024
1 parent d608cb1 commit 653cfc6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs-src/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ export default defineConfig({
svgr(),
react()
],
css: {
preprocessorOptions: {
scss: {
api: 'modern-compiler'
}
}
},
build: {
assetsInlineLimit: 0,
},
Expand Down

0 comments on commit 653cfc6

Please sign in to comment.