aboutsummaryrefslogtreecommitdiffstats
path: root/vite.config.js
blob: ca2ac7aabea2cc1ba0a4b3303ce266bbde8cfa7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { sveltekit } from '@sveltejs/kit/vite';
import path from 'path';

/** @type {import('vite').UserConfig} */
const config = {
	plugins: [sveltekit()],
	resolve: {
		alias: {
			$comp: path.resolve('src/components/index.js'),
			$utils: path.resolve('src/lib/utils.js')
		}
	}
};

export default config;