gitbutler/svelte.config.js

19 lines
377 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
})
}
2023-01-31 17:55:57 +03:00
};
export default config;