FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Don't elide imports when transforming JS files by gabritto · Pull Request #50404 · microsoft/TypeScript · GitHub

Don't elide imports when transforming JS files - #50404

Merged
Gabriela Araujo Britto (gabritto) merged 11 commits into
mainfrom
gabritto/jsemit
Sep 19, 2022
Merged

Don't elide imports when transforming JS files#50404
Gabriela Araujo Britto (gabritto) merged 11 commits into
mainfrom
gabritto/jsemit

Conversation

Gabriela Araujo Britto (gabritto) commented Aug 22, 2022
edited
Loading

Copy link
Copy Markdown
Member

Fixes #48588.

The fix, as discussed in the design meeting, is to never elide imports when transforming JS files.

Note that this breaks some assumptions that were being made by further transforms, such as looking up only value symbols when finding whether an identifier was an import.

Also note: this change is when transforming JS files only. And it only updates our transforms to not eliding imports. Exports in JS files will still be elided as before.

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

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.

Used import elided from emit where source is JavaScript

6 participants


Back | FazBrowse Home | New Git URL