mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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