Skip to content

chore(ts): enables source map in the ts#961

Merged
ematipico merged 1 commit intowebpack:masterfrom
pranshuchittora:chore/tsconfig
Jun 19, 2019
Merged

chore(ts): enables source map in the ts#961
ematipico merged 1 commit intowebpack:masterfrom
pranshuchittora:chore/tsconfig

Conversation

@pranshuchittora
Copy link
Contributor

Enables the source maps for the ts compiled files for easy debugging.

https://code.visualstudio.com/docs/typescript/typescript-debugging#_javascript-source-map-support

What kind of change does this PR introduce?
feature

Summary
Setting breakpoints in the TS won't work as JS files are being used, with the help of source maps which has one to one mapping for each statement allows the editor to resolve the respective line in the JS file.

While debugging ts files.

enables the source maps for the ts compiled files for easy debugging
@webpack-bot
Copy link

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

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

lgtm

@ematipico ematipico merged commit dad54f4 into webpack:master Jun 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants