Skip to content

In bundle declaration emit, refuse to rewrite nonrelative references … #42306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 25, 2021

Conversation

weswigham
Copy link
Member

…to files outside the common source directory

Fixes #39547

Taken with a reintroduction of the flag added in this PR (pending bikeshedding of the flag name), this should allow the user in #39547 to not just have less-broken bundled-up declarations (as this PR allows), but entirely functional ones which should be directly consumable by typescript itself.

…to files outside the common source directory
@typescript-bot typescript-bot added Author: Team For Milestone Bug PRs that fix a bug with a specific milestone labels Jan 12, 2021
Copy link
Contributor

@orta orta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, so we give the compiler error rather than get into a bad dts emit state. Works for me.

@sandersn
Copy link
Member

@weswigham is this ready to merge?

@weswigham
Copy link
Member Author

Yeah, lemme merge it~

@weswigham weswigham merged commit d7d8f33 into microsoft:master Jan 25, 2021
@weswigham weswigham deleted the declaration-emit-common-dir branch January 25, 2021 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Author: Team For Milestone Bug PRs that fix a bug with a specific milestone
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Emitting combined output declarations tries to resolve monorepo imports
4 participants