telemetry-dashboard/svelte.config.js
2026-07-04 03:23:46 +09:00

21 lines
442 B
JavaScript

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;