79367509

Date: 2025-01-18 16:27:19
Score: 1
Natty:
Report link

CONSILE:Webpack is configured while Turbopack is not, which may cause problems.

Turn off the turbopack

next.config.mjs

/** @type {import('next').NextConfig} */
const nextConfig = {
  webpack: (config) => {
    config.module.rules.push({
      test: /\.svg$/i,
      issuer: /\.[jt]sx?$/,
      use: ['@svgr/webpack'],
    });

    return config;
  },

};

export default nextConfig
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Eugeney