diff --git a/vite.config.js b/vite.config.js index f44aa9d..b8e7b62 100644 --- a/vite.config.js +++ b/vite.config.js @@ -18,6 +18,7 @@ export default defineConfig({ }, define: { "globalThis.process.env.NODE_ENV": null, + "window.": "globalThis.", }, resolve: { dedupe: ["@lumeweb/libportal", "@lumeweb/libweb", "@lumeweb/libkernel"],