this_algorithm/web-frontend/vite.config.js

9 lines
281 B
JavaScript
Raw Normal View History

2023-02-27 01:20:21 -05:00
import { sveltekit } from '@sveltejs/kit/vite';
import wasmPack from 'vite-plugin-wasm-pack';
2023-02-27 01:20:21 -05:00
import { defineConfig } from 'vite';
2023-02-28 06:36:33 -05:00
import { VitePWA } from 'vite-plugin-pwa';
2023-02-27 01:20:21 -05:00
export default defineConfig({
2023-02-28 06:36:33 -05:00
plugins: [sveltekit(), wasmPack('../this_algorithm-wasm/'), VitePWA()]
2023-02-27 01:20:21 -05:00
});