| Giorgi Lekveishvili | c77ec42 | 2023-05-30 13:21:15 +0400 | [diff] [blame] | 1 | import preprocess from 'svelte-preprocess'; |
| 2 | import adapter from '@sveltejs/adapter-auto'; |
| 3 | import { vitePreprocess } from '@sveltejs/kit/vite'; |
| 4 | |
| 5 | /** @type {import('@sveltejs/kit').Config} */ |
| 6 | const config = { |
| 7 | // Consult https://kit.svelte.dev/docs/integrations#preprocessors |
| 8 | // for more information about preprocessors |
| 9 | preprocess: [ |
| 10 | vitePreprocess(), |
| 11 | preprocess({ |
| 12 | postcss: true |
| 13 | }) |
| 14 | ], |
| 15 | |
| 16 | kit: { |
| 17 | // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. |
| 18 | // If your environment is not supported or you settled on a specific environment, switch out the adapter. |
| 19 | // See https://kit.svelte.dev/docs/adapters for more information about adapters. |
| 20 | adapter: adapter() |
| 21 | } |
| 22 | }; |
| 23 | |
| 24 | export default config; |