diff options
| author | Fuwn <[email protected]> | 2025-06-23 01:24:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-06-23 01:24:13 -0700 |
| commit | 7f29d81329e286b5d4aed7d6cf684176e220606e (patch) | |
| tree | cfe6b92fc12fd3850a881fcc90d656df14d76784 /vite.config.ts | |
| parent | style(src): Remove self-closing tags with attributes (diff) | |
| download | due.moe-7f29d81329e286b5d4aed7d6cf684176e220606e.tar.xz due.moe-7f29d81329e286b5d4aed7d6cf684176e220606e.zip | |
build(vite): Optimise CSS
Diffstat (limited to 'vite.config.ts')
| -rw-r--r-- | vite.config.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vite.config.ts b/vite.config.ts index cc00d883..b0142b12 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,5 +15,12 @@ export default defineConfig({ // : undefined // }, proxy: {} + }, + css: { + devSourcemap: false + }, + build: { + cssCodeSplit: true, + minify: true } }); |