From d7b55e7d9a3dce5e3d7a71d5266aa2787c6ad5f8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 31 Dec 2025 18:20:38 +0900 Subject: fix(build): add WASM support for Automerge in Vite MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automerge uses WebAssembly which requires vite-plugin-wasm and vite-plugin-top-level-await to handle WASM modules in production builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- package.json | 2 ++ 1 file changed, 2 insertions(+) (limited to 'package.json') diff --git a/package.json b/package.json index af84a68..115e728 100644 --- a/package.json +++ b/package.json @@ -70,6 +70,8 @@ "typescript": "^5.9.3", "vite": "^7.2.6", "vite-plugin-pwa": "^1.2.0", + "vite-plugin-top-level-await": "^1.6.0", + "vite-plugin-wasm": "^3.5.0", "vitest": "^4.0.15" }, "pnpm": { -- cgit v1.2.3-70-g09d2