This commit is contained in:
Anatoly Antonov 2026-07-04 03:23:46 +09:00
commit 43c120df4c
26 changed files with 3265 additions and 0 deletions

21
svelte.config.js Normal file
View file

@ -0,0 +1,21 @@
import adapter from '@sveltejs/adapter-static';
/**
* Deployed exactly like leaflet_svelte: a pure static SPA. `npm run build`
* emits ./build; serve it from any static host with index.html fallback.
*
* @type {import('@sveltejs/kit').Config}
*/
const config = {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: false,
strict: false,
}),
},
};
export default config;