diff options
| author | ivarlovlie <git@ivarlovlie.no> | 2022-06-05 15:43:08 +0200 |
|---|---|---|
| committer | ivarlovlie <git@ivarlovlie.no> | 2022-06-05 15:43:33 +0200 |
| commit | 1cb220ef54ddaf635b322d8c24f38613f371285e (patch) | |
| tree | 8fa0445d9642b8774b7ecfeea5d45a244403d82d /apps/frontpage/svelte.config.js | |
| parent | dccb6a5cf79699ed78bc3101f76c97b21f5a842e (diff) | |
| download | greatoffice-1cb220ef54ddaf635b322d8c24f38613f371285e.tar.xz greatoffice-1cb220ef54ddaf635b322d8c24f38613f371285e.zip | |
feat: New frontpage
Diffstat (limited to 'apps/frontpage/svelte.config.js')
| -rw-r--r-- | apps/frontpage/svelte.config.js | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/apps/frontpage/svelte.config.js b/apps/frontpage/svelte.config.js index 20f856b..60a9bcf 100644 --- a/apps/frontpage/svelte.config.js +++ b/apps/frontpage/svelte.config.js @@ -1,20 +1,22 @@ import adapter from "@sveltejs/adapter-static"; -import preprocess from "svelte-preprocess"; /** @type {import("@sveltejs/kit").Config} */ const config = { - // Consult https://github.com/sveltejs/svelte-preprocess - // for more information about preprocessors - preprocess: preprocess(), - - kit: { - adapter: adapter({ - fallback: "index.html", - prerender: { - default: false - } - }) - } + kit: { + prerender: { + default: true, + }, + adapter: adapter(), + alias: { + "$shared": "../web-shared/src", + "$routes": "./src/routes" + }, + vite: { + server: { + port: 3002 + }, + }, + }, }; export default config; |
