mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
build: improve webpack config (#3561)
This commit is contained in:
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