diff --git a/apps/web/src/bootstrap/index.ts b/apps/web/src/bootstrap/index.ts index e69de29bb2..ee69e28aee 100644 --- a/apps/web/src/bootstrap/index.ts +++ b/apps/web/src/bootstrap/index.ts @@ -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'); +}