What is the map file for?
See original GitHub issueI followed some instructions to add Mermaid to a company-private blog by adding mermaid.min.js
to the blog repo and a <script>
element to load it. It works great with no issues I can see except for this error in my browser:
[Error] Failed to load resource: the server responded with a status of 404 () (mermaid.min.js.map, line 0)
https://xxxxxx.pages.github.io/assets/js/mermaid.min.js.map
It makes sense it didn’t find mermaid.min.js.map
since I didn’t copy it to the repository, though I see it on the CDN. But since everything seems to be working for my simple flow diagrams, and the map file is huge, I’m curious what it’s for. I failed to find information in the documentation; should it be mentioned there? Is it optional? For specific diagram types, perhaps?
TIA!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
MAP File Extension - What is a .map file and how do I open it?
A MAP file is a game map created for games developed using the Quake engine or a related game development engine, such as...
Read more >Understanding map files - IBM
This topic describes map files and their formats. The binder map file is a symbol map in address order format. Each symbol listed...
Read more >MAP File - What is it and how do I open it?
The .map file extension is used by computer games that have been created with one of the Quake game engines. These files contain...
Read more >MAP File Extension - What is .map and how to open?
These files are called Quake Engine Map Files that refer to uncompelled game maps used by the game that Quake engines develop. These...
Read more >MAP File Extension - What is it? How to open a MAP file?
MAP files mostly belong to Visual Studio by Microsoft. MAP files are used by a lot of software. They are mainly associated with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OH, LOL, which is naturally what I do when I then notice it doesn’t load. Got it. A little magical but makes sense.
Seems like the browser only downloads it if you have devtools open. https://stackoverflow.com/questions/44315460/when-do-browsers-download-sourcemaps