22 lines
414 B
JavaScript
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;
|