contentlayerdev / contentlayerdev/contentlayer
`contentlayer.config.ts` should handle tsconfig paths
Open
blocked-upstream
meta: never-stale
topic: typescript
- Dominant language
- TypeScript
- Stars
- 3.5k
- Forks
- 192
- PR merge metrics
- No merged PRs in 30d
Description
using an absolute import defined via `tsconfig.json#paths` in `contentlayer.config.ts` currently throws a `ConfigReadError`
steps to reproduce:
- `git clone git@github.com:stefanprobst/issue-contentlayer-tsconfig-paths.git`
- `cd issue-contentlayer-tsconfig-paths`
- `npm i`
- `npm run generate`
Contributor guide
Assessment
This issue has not been assessed yet.