Add vitepwa
All checks were successful
ci/woodpecker/push/build Pipeline was successful

This commit is contained in:
Alessio Davoli 2023-07-18 17:03:59 +02:00
parent 52edee7ab6
commit 444c64b55c

View file

@ -1,8 +1,9 @@
import { sveltekit } from "@sveltejs/kit/vite";
import adapter from "@sveltejs/adapter-node";
import { VitePWA } from 'vite-plugin-pwa';
const config = {
plugins: [sveltekit()],
plugins: [sveltekit(), VitePWA({ registerType: 'autoUpdate' })],
test: {
include: ["src/**/*.{test,spec}.{js,ts}"],
},