microsoft / microsoft/TypeScript

Port from old compiler code to emit compilation flags into the source map

Open
#2,858 0 comments 0 reactions 0 assignees View on GitHub
Help Wanted Suggestion
Dominant language
Go
Stars
111k
Forks
14.3k
Avg merge
2d 4h
Merged PRs (30d)
132

Description

The 1.0 (or 1.1) compiler emitted the compilation flags into the source map. We added this for hypothetical tooling scenarios, where browser tools could trigger a simple recompilation of a file discovered by a source map, in the case where it was live edited.

This is not a high priority as those scenarios aren't currently planned, but perhaps it would be a simple port of work already done.

Contributor guide

Open the contributing guide

Research direction

Start by locating the current source-map generation path and compare it with the 1.0 or 1.1 compiler implementation referenced in the issue. Done means the compilation flags are emitted into the source map as they were previously, with appropriate coverage for the restored behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
compilers
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.