mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-09-11 12:25:42 +03:00
23 lines
504 B
JavaScript
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;
|