From 792c649207f01c6232d26f195bd1f3f2bd319592 Mon Sep 17 00:00:00 2001 From: Loudbook Date: Wed, 11 Dec 2024 20:21:42 -0500 Subject: [PATCH] Precompress experiment --- frontend/svelte.config.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/frontend/svelte.config.js b/frontend/svelte.config.js index 5de9451..3fed860 100644 --- a/frontend/svelte.config.js +++ b/frontend/svelte.config.js @@ -5,11 +5,15 @@ import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; const config = { // Consult https://kit.svelte.dev/docs/integrations#preprocessors // for more information about preprocessors - preprocess: vitePreprocess(), + preprocess: [ + vitePreprocess({ postcss: true }), + ], kit: { - adapter: adapter(), - }, + adapter: adapter({ + precompress: true, + }) + } }; export default config;