blob: bd1381b8141e29db4dd0bd888d14d806bf351b1e [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 alias: {
20 $components: '../../packages/components/dist',
21 '$components/*': '../../packages/components/dist/*'
22 }
23 },
24 shadcn: {
25 componentPath: '../../packages/components/src/lib/ui'
26 }
27};
28export default config;