Sourcemap tells the client how to download the file. The client should not have a clue about your file system.
The mapping should be valid: # sourceMappingURL=/path/to/file.js.map
where it /path/to/file.js.map
will be allowed:http://www.example.com/path/to/file.js.map
The client is fully agnostic for file systems.
In addition, you do not have to be protocol service resources file://
.
source
share