AFFiNE/scripts/setup/global.ts

12 lines
265 B
TypeScript
Raw Normal View History

import { setupGlobal } from '@affine/env/global';
2023-07-18 19:53:10 +03:00
import { getRuntimeConfig } from '../../apps/core/.webpack/runtime-config';
globalThis.runtimeConfig = getRuntimeConfig({
distribution: 'browser',
mode: 'development',
channel: 'canary',
});
setupGlobal();