From 5a19b790311a7b63f476424e11da73e7ac599cfd Mon Sep 17 00:00:00 2001 From: Takeshi Kimata <117462761+kimatata@users.noreply.github.com> Date: Sat, 20 Apr 2024 20:28:21 +0900 Subject: [PATCH] Disable typescript error check on nextjs build --- frontend/next.config.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/frontend/next.config.js b/frontend/next.config.js index 767719f..55507ea 100644 --- a/frontend/next.config.js +++ b/frontend/next.config.js @@ -1,4 +1,12 @@ /** @type {import('next').NextConfig} */ -const nextConfig = {} +const nextConfig = { + typescript: { + // !! WARN !! + // Dangerously allow production builds to successfully complete even if + // your project has type errors. + // !! WARN !! + ignoreBuildErrors: true, + }, +} module.exports = nextConfig