gitbutler/app/svelte.config.js

20 lines
416 B
JavaScript
Raw Normal View History

2023-02-24 12:46:41 +03:00
import staticAdapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
2023-01-31 17:55:57 +03:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
2023-02-24 12:46:41 +03:00
preprocess: vitePreprocess(),
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' }
2023-01-31 17:55:57 +03:00
};
export default config;