79458517

Date: 2025-02-21 20:08:32
Score: 0.5
Natty:
Report link

This happens when you override config.resolve.alias. Make sure to retain existing config:

const nextConfig = {
  webpack: (config) => {
    config.resolve.alias = {
       // YOUR CHANGES
       // ...
       ...config.resolve.alias // <-- this fixes the error
    };

    return config
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yousef