next.config.js

    0

    0

    In this code, the nextConfig object defines two properties: reactStrictMode and swcMinify. reactStrictMode makes the React componentMinifier run in strict mode, which disables some optimizations. swcMinify makes the compiler minify the code.

    Library: next

    /** @type {import('next').NextConfig} */
    const nextConfig = {
      reactStrictMode: true,
      swcMinify: true,
    }
    
    module.exports = nextConfig
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.