mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-13 16:16:46 +08:00
feat: add @affine/bookmark-block plugin (#2618)
This commit is contained in:
Vendored
+7
-3
@@ -1,7 +1,11 @@
|
||||
import { config, getEnvironment, setupGlobal } from './config';
|
||||
import { config, setupGlobal } from './config';
|
||||
|
||||
if (config.enablePlugin && !getEnvironment().isServer) {
|
||||
setupGlobal();
|
||||
|
||||
if (config.enablePlugin && !environment.isServer) {
|
||||
import('@affine/copilot');
|
||||
}
|
||||
|
||||
setupGlobal();
|
||||
if (!environment.isServer) {
|
||||
import('@affine/bookmark-block');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user