import { sveltekit } from '@sveltejs/kit/vite'; import { SvelteKitPWA } from '@vite-pwa/sveltekit'; import wasmPack from 'vite-plugin-wasm-pack'; import { defineConfig } from 'vite'; import { isoImport } from 'vite-plugin-iso-import'; export default defineConfig({ plugins: [sveltekit(), wasmPack('../xpin-wasm/'), SvelteKitPWA({ workbox: { globPatterns: ['**/*.{js,html,wasm}'], }, devOptions: { enabled: true, }, }), isoImport(), ] });