2023-07-10 18:37:41 +02:00
|
|
|
import adapter from "@sveltejs/adapter-node";
|
2023-07-10 17:44:06 +02:00
|
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
|
|
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
|
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
2023-07-19 17:21:13 +02:00
|
|
|
files: {
|
|
|
|
serviceWorker: 'src/sw.ts',
|
|
|
|
},
|
2023-07-19 20:08:53 +02:00
|
|
|
serviceWorker: {
|
|
|
|
register: false,
|
|
|
|
},
|
2023-07-10 18:37:41 +02:00
|
|
|
adapter: adapter({
|
2023-07-19 15:39:01 +02:00
|
|
|
fallback: null,
|
|
|
|
precompress: true,
|
|
|
|
strict: true
|
2023-07-10 18:37:41 +02:00
|
|
|
}),
|
|
|
|
},
|
2023-07-10 17:44:06 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|