diff --git a/vite.config.js b/vite.config.js index 527f688..a043d0a 100644 --- a/vite.config.js +++ b/vite.config.js @@ -1,8 +1,9 @@ import wasm from "vite-plugin-wasm"; +import topLevelAwait from "vite-plugin-top-level-await"; /** @type {import("vite").UserConfig} */ const config = { - plugins: [wasm()], + plugins: [wasm(), topLevelAwait()], }; if ("REPOSITORY" in process.env) {