Init
This commit is contained in:
commit
0ad405c26e
78 changed files with 9127 additions and 0 deletions
14
svelte.config.js
Normal file
14
svelte.config.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import adapter from '@sveltejs/adapter-static';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
|
||||
/** @type {import('@sveltejs/kit').Config} */
|
||||
const config = {
|
||||
preprocess: vitePreprocess(),
|
||||
kit: {
|
||||
// Pure client-side PWA: everything is rendered in the browser.
|
||||
adapter: adapter({ fallback: 'index.html' }),
|
||||
serviceWorker: { register: true }
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
Loading…
Add table
Add a link
Reference in a new issue