contentlayerdev / contentlayerdev/contentlayer

`contentlayer.config.ts` should handle tsconfig paths

Open
#238 4 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.