Webpack 2.x and source maps

Upgraded to Webpack 2.x beta and don’t see your source maps for production build despite devtool value seeming correct? Fear not, most probably you haven’t configured your UglifyJsPlugin plugin right – check whether its configuration contains { sourceMap: true } option. This has changed by default to false to speed up the compilation.

Nevertheless, I find Webpack 2.x very, very pleasant, programming with System.import is a joy.

Hope this helps to someone.

3 thoughts on “Webpack 2.x and source maps

  1. Sviatoslav

    Thank you so much friend! You saved me a lot of time (I already wasted more that 5 hours without any progress).
    Now it is working perfectly.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.