Merge pull request #8198 from loganfsmyth/sourcemap-loading

Prefer explicit object maps, and properly load relative maps.
This commit is contained in:
Logan Smyth
2018-07-04 15:39:42 -07:00
committed by GitHub
2 changed files with 29 additions and 16 deletions

View File

@@ -160,7 +160,7 @@ declare module "convert-source-map" {
fromComment(str: string): Converter,
fromMapFileComment(str: string): Converter,
fromSource(str: string): Converter,
fromMapFileSource(str: string): Converter,
fromMapFileSource(str: string, dir: string): Converter,
removeComments(str: string): string,
removeMapFileComments(str: string): string,
generateMapFileComment(path: string, options?: ?{ multiline: boolean }): string,