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