mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 02:56:23 +08:00
refactor!: remove next.js (#3267)
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
import { setupGlobal } from '@affine/env/global';
|
||||
|
||||
import { getRuntimeConfig } from '../../apps/core/.webpack/runtime-config';
|
||||
|
||||
globalThis.runtimeConfig = getRuntimeConfig({
|
||||
distribution: 'browser',
|
||||
mode: 'development',
|
||||
channel: 'canary',
|
||||
});
|
||||
|
||||
setupGlobal();
|
||||
|
||||
Reference in New Issue
Block a user