feat: add @affine/bookmark-block plugin (#2618)
This commit is contained in:
1 parent
4e1e4e9435
commit
454f1887cf
15 files changed
+202
-49
No files matched your search
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