build: improve webpack config (#3561)
This commit is contained in:
1 parent
f2ac4c7eda
commit
0c16eb1189
21 files changed
+365
-234
No files matched your search
Vendored
-4
@@ -206,10 +206,6 @@ export function setupGlobal() {
|
||||
}
|
||||
globalThis.environment = environment;
|
||||
|
||||
if (environment.isBrowser) {
|
||||
globalThis.editorVersion = global.editorVersion;
|
||||
}
|
||||
|
||||
let prefixUrl: string;
|
||||
if (!isBrowser || isDesktop) {
|
||||
// SSR or Desktop
|
||||
|
||||
Reference in new issue
Block a user