fix: restore backdrop-filter blur in production builds
All checks were successful
CI / update (push) Successful in 3m36s

Lightning CSS was deduplicating manually written backdrop-filter +
-webkit-backdrop-filter to just the webkit version, breaking blur on
Firefox. Remove manual webkit prefixes and let Lightning CSS auto-prefix
via browser targets in vite.config.ts.
This commit is contained in:
2026-04-07 21:46:02 +02:00
parent 48beb50466
commit d9f2a27700
4 changed files with 14 additions and 9 deletions

View File

@@ -2,6 +2,15 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
css: {
lightningcss: {
targets: {
chrome: (80 << 16),
firefox: (80 << 16),
safari: (14 << 16),
}
}
},
server: {
allowedHosts: ["bocken.org"]
},