1. 14
    Generate Source Maps through webpack for a Better Debugging Experience with source-map
    2m 55s

Generate Source Maps through webpack for a Better Debugging Experience with source-map

Share this video with your friends

Send Tweet

A potential downside to all the transformations our tools perform on our code is that when you need to debug your application, the code being served isn’t the code you wrote. This is where source maps save the day. We can serve transformed and bundled code, then debug in DevTools against our source code right in the browser. In this lesson we’ll take a look at the default debug experience without source maps, then we’ll configure webpack to generate source maps and look at the enhanced experience.