mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-26 18:24:32 +03:00
fix: plugin bootstrap (#2631)
Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
parent
53d1991211
commit
36978dbed6
@ -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');
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user