this_algorithm/web-frontend/vite.config.js
Austen Adler 18a3faf2e4 Revert "Add wasm directly"
This reverts commit a8019d4bf8.
2023-04-17 19:41:28 -04:00

16 lines
452 B
JavaScript

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