Skip to content

fix: ensure tsconfig lookups and parsing work as expected#680

Merged
sindresorhus merged 1 commit intoxojs:mainfrom
spence-s:main
Aug 25, 2022
Merged

fix: ensure tsconfig lookups and parsing work as expected#680
sindresorhus merged 1 commit intoxojs:mainfrom
spence-s:main

Conversation

@spence-s
Copy link
Copy Markdown
Contributor

@spence-s spence-s commented Aug 25, 2022

  • changes tsconfig lookups to use require.resolve instead of building the path relative to the cwd
  • use JSON5 to parse tsconfigs properly

closes #679

@sindresorhus sindresorhus merged commit de5f878 into xojs:main Aug 25, 2022
@sindresorhus
Copy link
Copy Markdown
Member

Thanks for the quick fix :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.52 extending tsconfig from node_modules causes error

2 participants