-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
keploy/blog-website
#318Description
Description
The project is using the deprecated images.domains configuration in Next.js, which will be removed in future versions. Additionally, there are console.log statements in production code that should be removed.
Current Issues
-
Deprecated Configuration Warning
- File:
next.config.js - Warning:
The "images.domains" configuration is deprecated. Please use "images.remotePatterns" configuration instead.
- File:
-
Console Statements in Production
- File:
pages/technology/index.tsx:13 - File:
pages/community/[slug].tsx:113 - These statements increase bundle size and expose internal logic
- File:
Expected Behavior
- Use modern
remotePatternsAPI for image optimization - Clean production code without console statements
- No deprecation warnings
Proposed Solution
- Migrate
images.domainstoimages.remotePatternsconfiguration - Remove all console.log statements from production code
- Maintain existing image optimization functionality
Benefits:
- Future-proof configuration
- Smaller bundle size
- Cleaner codebase
I'd like to work on this issue as part of my contribution to the project.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels