Skip to content

Commit

Permalink
Precompress experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 12, 2024
1 parent 451ce14 commit 792c649
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions frontend/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 792c649

Please sign in to comment.