chore: update runtime (#3312)

This commit is contained in:
Alex Yang
2023-07-19 17:58:51 +08:00
committed by GitHub
parent 710b34a13a
commit ae182bfd78
6 changed files with 11 additions and 4 deletions

View File

@@ -21,6 +21,7 @@ import { rootStore } from '@toeverything/plugin-infra/manager';
import { WorkspaceAdapters } from '../adapters/workspace';
console.log('setup global');
setupGlobal();
rootStore.set(

View File

@@ -3,4 +3,4 @@ if (runtimeConfig.enablePlugin) {
import('@affine/copilot');
}
export {};
console.log('register plugins finished');

View File

@@ -8,7 +8,6 @@ async function main() {
assertExists(root);
createRoot(root).render(<App />);
await import('./bootstrap/register-plugins');
}
await main();