From 2cfd83b5824da00db2c69c772377c2a70a9e713d Mon Sep 17 00:00:00 2001 From: 21CSM <81891917+21CSM@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:34:19 -0400 Subject: [PATCH] docs(README): add web worker instructions for vite 5 --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a0cd9f8..87deec5 100644 --- a/README.md +++ b/README.md @@ -57,10 +57,13 @@ export default defineConfig({ worker: { // Not needed with vite-plugin-top-level-await >= 1.3.0 // format: "es", + plugins: () => [wasm(), topLevelAwait()] + /* for vite