mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +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;
|