Просмотр исходного кода

Configure eslint.ignoreDuringBuilds option for next build

Taichi Masuyama 3 лет назад
Родитель
Сommit
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: {