Add phosphor pre-preprocessor, to improve readability of code

This commit is contained in:
Michał Gdula 2024-04-27 18:17:37 +01:00
parent bfbd393b46
commit 2686fb904c
11 changed files with 24 additions and 26 deletions

View file

@ -1,7 +1,11 @@
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
import { phosphorSvelteOptimize } from "phosphor-svelte/preprocessor"
export default {
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// for more information about preprocessors
preprocess: vitePreprocess(),
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// for more information about preprocessors
preprocess: [
phosphorSvelteOptimize(),
vitePreprocess()
],
}