Initial
This commit is contained in:
commit
43c120df4c
26 changed files with 3265 additions and 0 deletions
21
svelte.config.js
Normal file
21
svelte.config.js
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue