pianello-web-app/frontend/svelte.config.js
Alessio Davoli c80eb89db7
Some checks failed
ci/woodpecker/push/build Pipeline failed
Lint and format
2024-03-06 00:14:26 +01:00

22 lines
414 B
JavaScript

import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: vitePreprocess(),
kit: {
files: {
serviceWorker: 'src/sw.ts'
},
serviceWorker: {
register: false
},
adapter: adapter({
fallback: null,
precompress: true,
strict: true
})
}
};
export default config;