There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
build: enable plugin system in production (#3480)
Alex Yange85404a9c5e5
diff --git a/apps/core/src/bootstrap/register-plugins.ts b/apps/core/src/bootstrap/register-plugins.tsindex 3b13095e1d..2679c0e9e1 100644--- a/apps/core/src/bootstrap/register-plugins.ts+++ b/apps/core/src/bootstrap/register-plugins.ts@@ -38,7 +38,7 @@ Promise.all(globalThis.__pluginPackageJson__.push(packageJson);logger.debug(`registering plugin ${pluginName}`);logger.debug(`package.json: ${packageJson}`);- if (!release && process.env.NODE_ENV === 'production') {+ if (!release && !runtimeConfig.enablePlugin) {return Promise.resolve();}const baseURL = url;