Blog of Raivo Laanemets

jQuery hinders modern JavaScript development


jQuery developers have decided to remove Source Maps support from newer jQuery releases. This makes debugging JavaScript harder in browsers that support Source Maps (FF, Chrome, Safari, IE11). Without Source Maps you need to debug the minified version of the code instead the source. Or you need a rather complex build setup with development and production builds. They comment the change as:

Sourcemaps have proven to be a very problematic and puzzling thing to developers, spawning hundreds of confused developers on forums like StackOverflow and causing some to think jQuery itself was broken.

Source Maps have been widely covered in frontend technology magazines (just Google for "Source Maps") since 2012 and there is no excuse for a frontend developer for not knowing about them.


Comments

No comments have been added so far.

Email is not displayed anywhere.
URLs (max 3) starting with http:// or https:// can be used. Use @Name to mention someone.