gitbutler/svelte.config.js
2023-04-25 12:40:04 +02:00

19 lines
377 B
JavaScript

import staticAdapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
adapter: staticAdapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: true,
strict: false
})
}
};
export default config;