aboutsummaryrefslogtreecommitdiff
path: root/svelte.config.js
blob: 111d5a6b27a9a7a1100d773c15955eb83363abe8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';
import autoprefixer from 'autoprefixer';
import sveltePreprocess from 'svelte-preprocess';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	preprocess: [
		vitePreprocess(),
		sveltePreprocess({
			postcss: {
				plugins: [autoprefixer()]
			}
		})
	],
	kit: {
		adapter: adapter(),
		alias: {
			$stores: './src/stores'
		}
	}
};

export default config;