Sfoglia il codice sorgente

Configure eslint.ignoreDuringBuilds option for next build

Taichi Masuyama 3 anni fa
parent
commit
d0b784bd7f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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: {