Skyler Grey | 73b8b57 | 2023-06-03 11:17:04 +0200 | [diff] [blame] | 1 | import adapter from '@sveltejs/adapter-netlify'; |
Skyler Grey | 51e9e63 | 2023-06-03 10:20:11 +0200 | [diff] [blame] | 2 | import { vitePreprocess } from '@sveltejs/kit/vite'; |
| 3 | /** @type {import('@sveltejs/kit').Config}*/ |
| 4 | const config = { |
| 5 | // Consult https://kit.svelte.dev/docs/integrations#preprocessors |
| 6 | // for more information about preprocessors |
| 7 | preprocess: [ |
| 8 | vitePreprocess() |
| 9 | ], |
| 10 | kit: { |
| 11 | // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. |
| 12 | // If your environment is not supported or you settled on a specific environment, switch out the adapter. |
| 13 | // See https://kit.svelte.dev/docs/adapters for more information about adapters. |
| 14 | adapter: adapter(), |
| 15 | alias: { |
| 16 | $components: '../../packages/components/dist', |
| 17 | '$components/*': '../../packages/components/dist/*' |
| 18 | } |
| 19 | }, |
| 20 | shadcn: { |
| 21 | componentPath: '../../packages/components/src/lib/ui' |
| 22 | } |
| 23 | }; |
| 24 | export default config; |