gitbutler/svelte.config.js

23 lines
504 B
JavaScript
Raw Normal View History

2023-01-31 17:55:57 +03:00
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: {
2023-02-03 12:35:26 +03:00
adapter: staticAdapter({
precompress: true,
strict: false,
}),
2023-01-31 17:55:57 +03:00
},
};
export default config;