- SvelteKit project with @sveltejs/adapter-static (runs fully static) - scripts/osm-data.mjs: pulls OSM data from Overpass API and converts to static GeoJSON under static/data/ with per-area manifest - Leaflet map frontend that loads the static data and renders features with popups and area selection dropdown - npm run build fetches data then produces a self-contained static site
21 lines
692 B
JSON
21 lines
692 B
JSON
{
|
|
"extends": "./.svelte-kit/tsconfig.json",
|
|
"compilerOptions": {
|
|
"rewriteRelativeImportExtensions": true,
|
|
"allowJs": true,
|
|
"checkJs": true,
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"resolveJsonModule": true,
|
|
"skipLibCheck": true,
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"moduleResolution": "bundler"
|
|
}
|
|
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
|
|
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
|
|
//
|
|
// To make changes to top-level options such as include and exclude, we recommend extending
|
|
// the generated config; see https://svelte.dev/docs/kit/configuration#typescript
|
|
}
|