aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/svelte.config.js
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2022-01-02 17:57:40 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2022-01-02 17:57:40 +0100
commit1cde40b45916d1f99a4cda7837b516cde761f127 (patch)
treee74367db95dd4e9200783c78df2b3d811d834ead /web/pw-server/svelte.config.js
parent69331eb08a6199bfa8378e08cf378803b076eaae (diff)
downloadplanetwars.dev-1cde40b45916d1f99a4cda7837b516cde761f127.tar.xz
planetwars.dev-1cde40b45916d1f99a4cda7837b516cde761f127.zip
basic match views
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,
}),