From 0fb5c20a291024cfb827005fcba85baf630faf16 Mon Sep 17 00:00:00 2001 From: jprochazk <1665677+jprochazk@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:02:31 +0100 Subject: [PATCH] add back top level await plugin --- vite.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {