fix: plugin bootstrap (#2631)

Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
Peng Xiaoandhimself65 authored and GitHub committed 2023-06-01 01:14:37 +08:00
1 parent 53d1991211
commit 36978dbed6
1 file changed
+11
+11
View File
@@ -0,0 +1,11 @@
import { config, setupGlobal } from '@affine/env/config';
setupGlobal();
if (config.enablePlugin && !environment.isServer) {
import('@affine/copilot');
}
if (!environment.isServer) {
import('@affine/bookmark-block');
}