mirror of
https://github.com/AventurasTeam/Aventuras.git
synced 2026-04-28 11:50:15 +00:00
* fix: prettier, eslint, pipeline * fix: eslintignore, branch trigger * fix: eslint missing package * chore: format * fix: eslint config * chore: lint wip * chore: lint * chore: lint * chore: typecheck wip * fix: typecheck * fix: typecheck * fix: pipeline: add build step * feat: pre-push code quality check
18 lines
569 B
JavaScript
18 lines
569 B
JavaScript
// Tauri doesn't have a Node.js server to do proper SSR
|
|
// so we use adapter-static with a fallback to index.html to put the site in SPA mode
|
|
// See: https://svelte.dev/docs/kit/single-page-apps
|
|
// See: https://v2.tauri.app/start/frontend/sveltekit/ for more info
|
|
import adapter from '@sveltejs/adapter-static'
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
adapter: adapter({
|
|
fallback: 'index.html',
|
|
}),
|
|
},
|
|
}
|
|
|
|
export default config
|