Skip to content

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.

build: improve logs

himself652f3a13c439dd
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index e64616106c..cbc561a25e 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -76,6 +76,10 @@ const nextConfig = {
'@affine/debug',
'@affine/env',
'@affine/templates',
+ '@toeverything/hooks',
+ '@affine/workspace',
+ '@affine/jotai',
+ '@toeverything/y-indexeddb',
],
publicRuntimeConfig: {
PROJECT_NAME: process.env.npm_package_name ?? 'AFFiNE',
@@ -177,4 +181,12 @@ if (process.env.SENTRY_AUTH_TOKEN) {
delete config.sentry;
}
+if (process.env.PERFSEE_TOKEN) {
+ console.info('perfsee token found.');
+} else {
+ console.warn(
+ 'perfsee token not found. performance monitoring will be disabled.'
+ );
+}
+
export default config;