aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/svelte.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/pw-server/svelte.config.js')
-rw-r--r--web/pw-server/svelte.config.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/web/pw-server/svelte.config.js b/web/pw-server/svelte.config.js
index 0c0c40c..b6a2cf8 100644
--- a/web/pw-server/svelte.config.js
+++ b/web/pw-server/svelte.config.js
@@ -1,6 +1,5 @@
import adapter from "@sveltejs/adapter-auto";
import preprocess from "svelte-preprocess";
-// import { svelte } from '@sveltejs/vite-plugin-svelte'
import { viteCommonjs } from "@originjs/vite-plugin-commonjs";
import wasmPack from "vite-plugin-wasm-pack";
@@ -18,8 +17,7 @@ const config = {
ssr: false,
vite: {
plugins: [
- // svelte(),
- // wasmPack([], ["planetwars-rs"]),
+ wasmPack([], ["planetwars-rs"]),
viteCommonjs({
transformMixedEsModules: true,
}),