mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-04 00:28:33 +00:00
refactor: migrate environment to BUILD_CONFIG (#8206)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { getRuntimeConfig } from '@affine/cli/src/webpack/runtime-config';
|
||||
import { getBuildConfig } from '@affine/cli/src/webpack/runtime-config';
|
||||
import { setupGlobal } from '@affine/env/global';
|
||||
|
||||
globalThis.BUILD_CONFIG = getRuntimeConfig({
|
||||
globalThis.BUILD_CONFIG = getBuildConfig({
|
||||
distribution: 'web',
|
||||
mode: 'development',
|
||||
channel: 'canary',
|
||||
|
||||
Reference in New Issue
Block a user