21 lines
442 B
JavaScript
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;
|