When I load my web app and view the network tab in developer tools I see the logs of the loaded resources such as the .html .js .png requests. However I don't see any network requests for .js.map why is this?
Asked
Active
Viewed 46 times
0
-
1You're going to need to be more specific than this. What is a `.js.map` file and why would I be downloading it into my browser as a user of your application? – Robert Harvey Dec 31 '18 at 22:21
-
javascript source maps contain a .js.map extension. You would be including it along with the minified javascript in order to debug the minified javascript code. https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map – Thomas Kagan Dec 31 '18 at 22:24
-
This may answer your question: https://stackoverflow.com/a/27196201. *"Source maps are loaded only when the developer tools are active. Browsers won't load them for application's users."* – Robert Harvey Dec 31 '18 at 22:24
-
@RobertHarvey The network tab that I use to view the logs is part of the developer tools. I updated my question to be more specific – Thomas Kagan Dec 31 '18 at 22:27