Skip to content

contentlayer.config.ts should handle tsconfig paths #238

@stefanprobst

Description

@stefanprobst

using an absolute import defined via tsconfig.json#paths in contentlayer.config.ts currently throws a ConfigReadError

steps to reproduce:

  • git clone [email protected]:stefanprobst/issue-contentlayer-tsconfig-paths.git
  • cd issue-contentlayer-tsconfig-paths
  • npm i
  • npm run generate

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions