683db9a8ad
tsconfig behaves differently with `tsc` vs. Next.js. When `baseurl` is omitted, `paths` should be resolved against the tsconfig location. Consequentially, in this case the paths must start with `./`. This PR aligns Next.js behavior with `tsc` around `paths` without `baseurl`. Related: https://github.com/microsoft/TypeScript/pull/40101 |
||
---|---|---|
.. | ||
components | ||
lib | ||
node_modules/mypackage | ||
pages | ||
test | ||
.gitignore | ||
jsconfig.json | ||
next.config.js |