]> git.lizzy.rs Git - frontend-next.git/blob - svelte.config.js
Use encodeURIComponent to encode language for URI
[frontend-next.git] / svelte.config.js
1 import adapter from "@sveltejs/adapter-cloudflare";
2 import preprocess from "svelte-preprocess";
3
4 /** @type {import('@sveltejs/kit').Config} */
5 const config = {
6   // Consult https://github.com/sveltejs/svelte-preprocess
7   // for more information about preprocessors
8   preprocess: preprocess(),
9
10   kit: {
11     adapter: adapter(),
12
13     prerender: {
14       enabled: true,
15     },
16   },
17 };
18
19 export default config;