Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: module resolution for
next.config.ts
is currently limited to …
…`CommonJS` (#71162) ### Why? In current state, `next.config.ts` cannot resolve Native ESM syntax. Therefore it may import extensions `.js`, `.mjs`, `.cjs`, it will throw when the imported module uses Native ESM syntax like top-level await. Closes NDX-368 --------- Co-authored-by: JJ Kasper <[email protected]>
- Loading branch information