9

I'm working on an Angular project with angular-cli as the base. I've imported a library in package.json and I'd like to step through the library in the Chrome dev tools debugger. How can I make the libraries original typescript source show up in dev tools? I assume this is related to some webpack configuration?

1 Answer 1

2

Newer versions of the CLI have the "vendorSourceMap" option.

ng build --vendor-source-map

See https://github.com/angular/angular-cli/wiki/build

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.