]> git.lizzy.rs Git - frontend-next.git/blob - svelte.config.js
fix(npm): no strict engine
[frontend-next.git] / svelte.config.js
1 import adapter from "@sveltejs/adapter-auto";
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     // Override http methods in the Todo forms
14     methodOverride: {
15       allowed: ["PATCH", "DELETE"],
16     },
17   },
18 };
19
20 export default config;