next.js
e8dec1f3 - Ensure we hard error on invalid config export (#68638)

Commit
1 year ago
Ensure we hard error on invalid config export (#68638) Currently we only log warnings when we fail to parse config values and then fall back to their defaults, this is very dangerous as this can cause unexpected behavior and the warning log can be easy to miss. To prevent this unexpected behavior this updates to treat these as errors instead and fails the build if any invalid config exports are provided. x-ref: NDX-190
Author
Parents
Loading