aboutsummaryrefslogtreecommitdiffstats
path: root/code/app/svelte.config.js
blob: 2b4277a34e935eb7e3067561b8c843777838a4c5 (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
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",
            "$utilities": "./src/utilities",
            "$i18n": "./src/i18n",
            "$services": "./src/services",
            "$configuration": "./src/configuration",
        }
    },
};

export default config;