import { sveltekit } from '@sveltejs/kit/vite'; import { SvelteKitPWA } from '@vite-pwa/sveltekit'; import { defineConfig } from 'vite'; import wasm from "vite-plugin-wasm"; import topLevelAwait from "vite-plugin-top-level-await"; export default defineConfig({ plugins: [ sveltekit(), SvelteKitPWA({ workbox: { globPatterns: ['**/*.{js,html,wasm}'], }, devOptions: { enabled: true, }, }), wasm(), topLevelAwait(), ] });