this_algorithm/web-frontend/vite.config.js

8 lines
227 B
JavaScript

import { sveltekit } from '@sveltejs/kit/vite';
import wasmPack from 'vite-plugin-wasm-pack';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit(), wasmPack('../this_algorithm-wasm/')]
});