Skip to content
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

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

Merged
merged 1 commit into from Jun 19, 2019

Conversation

pranshuchittora
Copy link
Member

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.

None yet

5 participants