Skip to content

Commit

Permalink
remove need for top-level await
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Oct 31, 2023
1 parent b7a3612 commit 9c17888
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"vite": "^4.4.5"
},
"dependencies": {
"@rerun-io/web-viewer": "^0.0.3",
"@rerun-io/web-viewer": "^0.0.5",
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2"
}
}

3 changes: 1 addition & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import wasm from "vite-plugin-wasm";
import topLevelAwait from "vite-plugin-top-level-await";

/** @type {import("vite").UserConfig} */
const config = {
plugins: [wasm(), topLevelAwait()],
plugins: [wasm()],
};

if ("REPOSITORY" in process.env) {
Expand Down

0 comments on commit 9c17888

Please sign in to comment.