mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-22 19:14:31 +03:00
24 lines
485 B
JavaScript
24 lines
485 B
JavaScript
import staticAdapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess({ script: true }),
|
|
kit: {
|
|
adapter: staticAdapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: 'index.html',
|
|
precompress: true,
|
|
strict: false
|
|
})
|
|
},
|
|
compilerOptions: {
|
|
css: 'injected',
|
|
enableSourcemap: true,
|
|
runes: true
|
|
}
|
|
};
|
|
|
|
export default config;
|