Skip to content

fix: Support additional extends package patterns#20

Open
evocateur wants to merge 2 commits intoegoist:mainfrom
evocateur:fix/extends-resolution
Open

fix: Support additional extends package patterns#20
evocateur wants to merge 2 commits intoegoist:mainfrom
evocateur:fix/extends-resolution

Conversation

@evocateur
Copy link
Copy Markdown

I tried to use tsup in a project that extended a private package using pkg.tsconfig instead of pkg.main (implicit or explicit), and it blew up with a MODULE_NOT_FOUND error stack. Documentation on tsconfig packages is hard to find, so I ended up tracking down the implementation PR to figure out what the "official" support entailed.

I split it into two commits mostly because the fix for my immediate problem was somewhat smaller. It's certainly appropriate to squash, if desired.

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.

1 participant