Function: extractSourceMappingUrl()
extractSourceMappingUrl(
fileUri
,fileContents
):string
|null
Defined in: sourceMapUtils.ts:11
Extracts sourceMappingURL from the provided file contents. Based on https://github.com/facebook/create-react-app/blob/main/packages/react-error-overlay/src/utils/getSourceMap.js#L79.
Parameters
fileUri
string
The uri of the source file.
fileContents
string
Source file file contents.
Returns
string
| null