aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/svelte.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-11-07 22:01:43 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-11-07 22:01:43 +0100
commit5c20f19c8aee925f24e80bea9f3c2198a47b14a9 (patch)
tree3be4d3f33706adef55420db895034cb7584e2483 /web/pw-server/svelte.config.js
parent06fa72fe1cb542823ccf1b5847ff55dd5d47903a (diff)
downloadplanetwars.dev-5c20f19c8aee925f24e80bea9f3c2198a47b14a9.tar.xz
planetwars.dev-5c20f19c8aee925f24e80bea9f3c2198a47b14a9.zip
use native vite features for including wasm
Diffstat (limited to 'web/pw-server/svelte.config.js')
-rw-r--r--web/pw-server/svelte.config.js2
1 files changed, 0 insertions, 2 deletions
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,
}),