blob: e45fed08cc60bb5235463117e2dc354f2cfef19e [file] [log] [blame]
Skyler Grey7177bbd2023-06-01 03:26:31 +02001import preprocess from 'svelte-preprocess';
2import adapter from '@sveltejs/adapter-auto';
3import { vitePreprocess } from '@sveltejs/kit/vite';
4/** @type {import('@sveltejs/kit').Config}*/
5const config = {
6 // Consult https://kit.svelte.dev/docs/integrations#preprocessors
7 // for more information about preprocessors
8 preprocess: [
9 vitePreprocess(),
10 preprocess({
11 postcss: true
12 })
13 ],
14 kit: {
15 // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
16 // If your environment is not supported or you settled on a specific environment, switch out the adapter.
17 // See https://kit.svelte.dev/docs/adapters for more information about adapters.
18 adapter: adapter()
19 },
20 shadcn: {
21 componentPath: './src/lib/ui'
22 }
23};
24export default config;