这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

We don't do anything to detect that. We use an external map file in the sourceMappingURL included in every JS file. Browsers won't download that file normally, unless you have the dev tools open.

So by using an external map file, a normal browser doesn't request the file and we don't do the work the assemble the map file. When you do open dev tools, it'll request the map file from the server, and when we receive that we'll finally assemble the map.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@voltuer
Comment options

Answer selected by voltuer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants