From 5c20f19c8aee925f24e80bea9f3c2198a47b14a9 Mon Sep 17 00:00:00 2001 From: Ilion Beyst Date: Mon, 7 Nov 2022 22:01:43 +0100 Subject: use native vite features for including wasm --- web/pw-server/svelte.config.js | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/pw-server/svelte.config.js') diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js index 02b4db9..769665b 100644 --- a/web/pw-server/svelte.config.js +++ b/web/pw-server/svelte.config.js @@ -1,7 +1,6 @@ import adapter from "@sveltejs/adapter-node"; import sveltePreprocess from "svelte-preprocess"; import { viteCommonjs } from "@originjs/vite-plugin-commonjs"; -import wasmPack from "vite-plugin-wasm-pack"; import { isoImport } from "vite-plugin-iso-import"; import { mdsvex } from "mdsvex"; @@ -27,7 +26,6 @@ const config = { vite: { plugins: [ isoImport(), - wasmPack([], ["planetwars-rs"]), viteCommonjs({ transformMixedEsModules: true, }), -- cgit v1.2.3