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: use swc (#839)

Flrande758320501130
diff --git a/packages/app/next.config.js b/packages/app/next.config.js
index cd8eb2d10c..1ef34b267f 100644
--- a/packages/app/next.config.js
+++ b/packages/app/next.config.js
@@ -68,6 +68,9 @@ const nextConfig = {
return profile;
},
basePath: process.env.BASE_PATH,
+ experimental: {
+ forceSwcTransforms: true,
+ },
};
const baseDir = process.env.LOCAL_BLOCK_SUITE ?? '/';