UNPKG

@ima/dev-utils

Version:

IMA.js dev utils used used mainly in @ima/cli and other dev-related utilities.

11 lines (10 loc) 472 B
/** * 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. * * @param {string} fileUri The uri of the source file. * @param {string} fileContents Source file file contents. * @returns {string|null} */ declare function extractSourceMappingUrl(fileUri: string, fileContents: string): string | null; export { extractSourceMappingUrl };