Files
Graphite/frontend/svelte.config.js
Keavon Chambers e0212ca4b9 Remove the svelte-preprocess dev dependency, keeping global styles with a custom Vite plugin (#4003)
* Remove the svelte-preprocess dev dependency, keeping global styles with a custom Vite plugin

* More robust style tag detection

* Fix CSS regressions
2026-04-03 23:53:46 -07:00

9 lines
321 B
JavaScript

import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
export default {
preprocess: [vitePreprocess()],
compilerOptions: /** @type {import("svelte/compiler").ModuleCompileOptions} */ ({
warningFilter: (warning) => !warning.code.startsWith("a11y_") && !["css_unused_selector"].includes(warning.code),
}),
};