gitbutler/svelte.config.js
2023-02-03 10:35:42 +01:00

23 lines
504 B
JavaScript

import preprocess from "svelte-preprocess";
import staticAdapter from "@sveltejs/adapter-static";
import { vitePreprocess } from "@sveltejs/kit/vite";
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
vitePreprocess(),
preprocess({
postcss: true,
typescript: true,
}),
],
kit: {
adapter: staticAdapter({
precompress: true,
strict: false,
}),
},
};
export default config;