mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 18:26:05 +08:00
fix: plugin bootstrap (#2631)
Co-authored-by: himself65 <himself65@outlook.com>
This commit is contained in:
@@ -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');
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user