ソースを参照

Configure eslint.ignoreDuringBuilds option for next build

Taichi Masuyama 3 年 前
コミット
d0b784bd7f
1 ファイル変更3 行追加0 行削除
  1. 3 0
      packages/app/next.config.js

+ 3 - 0
packages/app/next.config.js

@@ -63,6 +63,9 @@ module.exports = async(phase, { defaultConfig }) => {
     // see: https://github.com/vercel/next.js/discussions/27876
     // experimental: { esmExternals: true }, // Prefer loading of ES Modules over CommonJS
 
+    eslint: {
+      ignoreDuringBuilds: true,
+    },
     reactStrictMode: true,
     swcMinify: true,
     typescript: {