summaryrefslogtreecommitdiffstats
path: root/apps/frontpage/svelte.config.js
blob: 9646d6b7febeb480dca020970ac7f335f1fa77d6 (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-static";
import preprocess from "svelte-preprocess"

/** @type {import("@sveltejs/kit").Config} */
const config = {
  preprocess: preprocess(),
  kit: {
    prerender: {
      default: true,
    },
    adapter: adapter(),
    alias: {
      "$shared": "../web-shared/src",
      "$routes": "./src/routes"
    },
    vite: {
      server: {
        port: 3002
      },
    },
  },
};

export default config;