From ddb68e9b62025780283a6767bdccbbbb4c189f54 Mon Sep 17 00:00:00 2001 From: Marcos Soledade Date: Fri, 15 Mar 2024 16:47:42 -0300 Subject: [PATCH] Ignores linting on types and adds output standalone --- next.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/next.config.js b/next.config.js index c8a6ab9..5e4a17b 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,6 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + output: "standalone", reactStrictMode: true, async redirects() { return [ @@ -21,6 +22,13 @@ const nextConfig = { // your project has ESLint errors. ignoreDuringBuilds: true, }, + typescript: { + // !! WARN !! + // Dangerously allow production builds to successfully complete even if + // your project has type errors. + // !! WARN !! + ignoreBuildErrors: true, + }, }; module.exports = nextConfig;