gitbutler/apps/desktop/svelte.config.js

23 lines
470 B
JavaScript
Raw Normal View History

2023-02-24 12:46:41 +03:00
import staticAdapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2023-01-31 17:55:57 +03:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess({ script: true }),
2023-02-24 12:46:41 +03:00
kit: {
adapter: staticAdapter({
2023-04-25 13:35:19 +03:00
pages: 'build',
assets: 'build',
fallback: 'index.html',
2023-02-24 12:46:41 +03:00
precompress: true,
strict: false
})
},
compilerOptions: {
css: 'injected',
enableSourcemap: true
}
2023-01-31 17:55:57 +03:00
};
export default config;