I generate source maps for javascript files while minimizing. Map files are referenced using the relative URL of the mini-JS files that are located next to the map files. Here is an example comment at the end app-e47a6637.js:
//
Source map resolution works as expected in Firefox. However, Chrome does not download map files.
Additional Information:
- The original JS cards are, of course, included in the settings.
- I tried to install a proxy between Chrome and the server. Chrome doesn't even request map files.
- I use
gulp-sourcemapsto create map files. - I do not want to use the Chrome workspace feature. I just want it to display the original source files.
How to enable source maps in Chrome?
source
share