Skip to content

Commit

Permalink
add back top level await plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Nov 28, 2023
1 parent 8113f0a commit 0fb5c20
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit 0fb5c20

Please sign in to comment.