blob: 846374acd241300e0c17342aac32c45cba8db66c [file] [log] [blame]
Giorgi Lekveishvilic77ec422023-05-30 13:21:15 +04001import preprocess from 'svelte-preprocess';
2import adapter from '@sveltejs/adapter-auto';
3import { vitePreprocess } from '@sveltejs/kit/vite';
4
5/** @type {import('@sveltejs/kit').Config} */
6const 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
24export default config;