From fbc196e828afcd0446954b33b36b7a74694dded3 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Sat, 1 Jul 2023 16:22:21 +0800 Subject: [PATCH] build: skip type check in next.js build (#2952) --- apps/web/next.config.mjs | 4 ++++ 1 file changed, 4 insertions(+) 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, },