mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
feat: add @affine/bookmark-block plugin (#2618)
This commit is contained in:
10
packages/env/src/bootstrap.ts
vendored
10
packages/env/src/bootstrap.ts
vendored
@@ -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