pianello-web-app/frontend/svelte.config.js

23 lines
414 B
JavaScript
Raw Normal View History

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