diff --git a/vite.config.js b/vite.config.js index 79fcdaf..72eb064 100644 --- a/vite.config.js +++ b/vite.config.js @@ -4,6 +4,7 @@ import topLevelAwait from "vite-plugin-top-level-await"; /** @type {import("vite").UserConfig} */ const config = { plugins: [wasm(), topLevelAwait()], + // https://github.com/rerun-io/rerun/issues/6815 optimizeDeps: { exclude: process.env.NODE_ENV === "production" ? [] : ["@rerun-io/web-viewer"], },