ci: add window define alias

This commit is contained in:
Derrick Hammer 2023-07-29 16:23:12 -04:00
parent a274d316e5
commit da1bfb3506
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ export default defineConfig({
},
define: {
"globalThis.process.env.NODE_ENV": null,
"window.": "globalThis.",
},
resolve: {
dedupe: ["@lumeweb/libportal", "@lumeweb/libweb", "@lumeweb/libkernel"],