RequireJS adding '.map' to javascripts rather than '.js' suddenly RequireJS adding '.map' to javascripts rather than '.js' suddenly google-chrome google-chrome

RequireJS adding '.map' to javascripts rather than '.js' suddenly


As @alexanderb noted, this is happening because of the recent support for source maps in Chrome. To prevent this from happening (if you are not interested in using source maps for minified files), go to the Dev Tools settings panel and uncheck "Enable source maps" under the "Sources" section. Note however, that this turns off source-map functionality for all minified files that have specified a source map using // @ sourceMappingURL=jquery-1.10.2.min.map. No need to edit any files.


That's probably happening because of your referring minified files.

Typically you always use un-compressed sources, then you optimise the code with r.js during deployment, so all referred libraries are got minified anyway.

Try to change from the path section and see if issue still appears.