aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/svelte.config.js
blob: 9f2272c866b5a7ccbe8500bdcf561155b1692b56 (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
25
26
27
28
import adapter from "@sveltejs/adapter-node";
import preprocess from "svelte-preprocess";

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

export default config;