convert-source-map
convert-source-map copied to clipboard
What is the expected return of the `readMap` arguments when the source map doesn't exist?
Methods fromMapFileComment and fromMapFileSource take a readMap function as second argument, that is expected to return either a string or a Promise of a string. But it is not clear how this method is supposed to behave when the passed file doesn't exist?
Should it throw? Or return null?