website/vite.config.ts

15 lines
289 B
TypeScript
Raw Permalink Normal View History

2024-03-07 12:35:43 +01:00
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
2024-03-12 17:40:19 +01:00
import { imagetools } from "vite-imagetools";
2024-03-06 16:05:24 +01:00
export default defineConfig({
2024-03-12 17:40:19 +01:00
plugins: [
imagetools({
defaultDirectives: new URLSearchParams({
format: "webp",
}),
}),
sveltekit(),
],
2024-03-06 16:05:24 +01:00
});