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: skip type check in next.js build (#2952)

Alex Yang711e683c6f21
diff --git a/apps/web/next.config.mjs b/apps/web/next.config.mjs
index 83352b7a05..d342e03280 100644
--- a/apps/web/next.config.mjs
+++ b/apps/web/next.config.mjs
@@ -56,6 +56,10 @@ const profileTarget = {
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
+ typescript: {
+ // We use `yarn typecheck` on top level to check types
+ ignoreBuildErrors: true,
+ },
sentry: {
hideSourceMaps: true,
},