42f838e156
## Bug - [X] Related issues linked using `fixes #37483` - [ ] Integration tests added - [x] Errors have helpful link attached, see `contributing.md` Duplicate locales will lead to an obscure error message at build time, here I caught them earlier. Using a Set sounded the terser and fastest approach, but it won't tell which locale is duplicated. Also I've noticed that the "Array.isArray" check happens twice on i18n.locales? Maybe it's on purpose? Fixes #37483 Co-authored-by: JJ Kasper <22380829+ijjk@users.noreply.github.com> |
||
---|---|---|
.. | ||
pages | ||
test | ||
next.config.js | ||
server.js |