Install svelte-preprocess

This commit is contained in:
freearhey 2023-10-10 15:09:59 +03:00
parent 57639d662b
commit a30e70536f
4 changed files with 665 additions and 21 deletions

View file

@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-static'
import { vitePreprocess } from '@sveltejs/kit/vite'
import sveltePreprocess from 'svelte-preprocess'
/** @type {import('@sveltejs/kit').Config} */
const config = {
@ -16,7 +16,7 @@ const config = {
precompress: false
})
},
preprocess: vitePreprocess()
preprocess: sveltePreprocess()
}
export default config