Skip to content

Commit

Permalink
refactor: use modern scss preprocessor
Browse files Browse the repository at this point in the history
  • Loading branch information
DataM0del committed Dec 1, 2024
1 parent 2281316 commit d1873e8
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src-theme/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,12 @@ import { svelte } from '@sveltejs/vite-plugin-svelte'
// https://vitejs.dev/config/
export default defineConfig({
plugins: [svelte()],
base: ""
base: "",
css: {
preprocessorOptions: {
scss: {
api: "modern"
}
}
}
})

0 comments on commit d1873e8

Please sign in to comment.