Files
AstralRinth/theseus_gui/svelte.config.js
Wuzado 855604c9e0 Make Theseus compilable out of the box again, update Tauri to 1.0.4
Changes made:
- migrate to Vite 3 (Svelte Kit errors out and forces you to migrate)
- bumped unplugin-icons to 0.14.7 (Vite 3 support)
- disable strict-peer-dependencies (changes needed in omorphia - unplugin-icons there requires Vite 2)
- bumped Tauri to 1.0.4 (finally stable!)
- removed useBootstrapper (removed in v1.0.0-rc.5)
- migrated from create_window to setup (removed in v1.0.0-rc.7)
- replaced %svelte% with %sveltekit% (renamed in SvelteKit 1.0.0-next.339)

Notes:
- Vite 3 exposes its dev server on port 5173.
2022-07-16 20:38:37 +02:00

15 lines
303 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { preprocess } from 'omorphia/config/svelte.config'
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess,
kit: {
adapter: adapter({
fallback: '200.html',
})
}
};
export default config;