mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 12:55:00 +00:00
chore: update runtime (#3312)
This commit is contained in:
@@ -21,6 +21,7 @@ import { rootStore } from '@toeverything/plugin-infra/manager';
|
||||
|
||||
import { WorkspaceAdapters } from '../adapters/workspace';
|
||||
|
||||
console.log('setup global');
|
||||
setupGlobal();
|
||||
|
||||
rootStore.set(
|
||||
|
||||
@@ -3,4 +3,4 @@ if (runtimeConfig.enablePlugin) {
|
||||
import('@affine/copilot');
|
||||
}
|
||||
|
||||
export {};
|
||||
console.log('register plugins finished');
|
||||
|
||||
@@ -8,7 +8,6 @@ async function main() {
|
||||
assertExists(root);
|
||||
|
||||
createRoot(root).render(<App />);
|
||||
await import('./bootstrap/register-plugins');
|
||||
}
|
||||
|
||||
await main();
|
||||
|
||||
Reference in New Issue
Block a user