gitbutler/packages/shared/svelte.config.js

24 lines
485 B
JavaScript
Raw Normal View History

2024-10-10 00:06:31 +03:00
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
2024-10-10 00:06:31 +03:00
}
};
export default config;