aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontend/svelte.config.js
blob: 11524399d1a3ffcce6115e6782cd29dd523cb4ae (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
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';

/** @type {import('@sveltejs/kit').Config} */
const config = {
	preprocess: [vitePreprocess({})],
	kit: {
		adapter: adapter(),
		alias: {
			"$actions": "./src/actions",
			"$routes": "./src/routes",
			"$models": "./src/models",
			"$api": "./src/api",
			"$components": "./src/components",
			"$utils": "./src/utils",
			"$i18n": "./src/i18n",
			"$services": "./src/services",
			"$configuration": "./src/configuration",
		}
	}
};

export default config;