blob: 0888d7e349cfccf61a53702c298860387009f5cf [file] [log] [blame]
Skyler Grey3afac092023-12-08 22:06:29 +00001import adapter from '@sveltejs/adapter-netlify';
Skyler Grey7177bbd2023-06-01 03:26:31 +02002import { 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.
Skyler Grey3afac092023-12-08 22:06:29 +000012 adapter: adapter({
13 edge: false,
14 split: true,
15 }),
Skyler Grey7177bbd2023-06-01 03:26:31 +020016 alias: {
17 $components: '../../packages/components/dist',
18 '$components/*': '../../packages/components/dist/*'
19 }
20 },
21 shadcn: {
22 componentPath: '../../packages/components/src/lib/ui'
23 }
24};
25export default config;