diff options
| author | Fuwn <[email protected]> | 2026-01-23 02:00:31 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-23 02:00:31 -0800 |
| commit | 6d6d861ccf68b3b20334c7f6a33a64f81322d528 (patch) | |
| tree | c382263a3e651dd94a836d459df8add545449028 | |
| parent | fix(html): Replace self-closing non-void HTML elements with proper closing tags (diff) | |
| download | due.moe-6d6d861ccf68b3b20334c7f6a33a64f81322d528.tar.xz due.moe-6d6d861ccf68b3b20334c7f6a33a64f81322d528.zip | |
fix(vite): Use modern Sass compiler API to resolve deprecation warnings
| -rw-r--r-- | vite.config.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vite.config.ts b/vite.config.ts index b0142b12..67d242c4 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,7 +17,12 @@ export default defineConfig({ proxy: {} }, css: { - devSourcemap: false + devSourcemap: false, + preprocessorOptions: { + scss: { + api: 'modern-compiler' + } + } }, build: { cssCodeSplit: true, |