import sourceMapSupport from 'source-map-support' ; export const SourcemapMap = new Map ( ) ; export function installSourceMapSupport ( ) { sourceMapSupport . install ( { handleUncaughtExceptions : false , environment : 'node' , retrieveSourceMap ( file ) { if ( SourcemapMap . has ( file ) ) { return { url : file , map : SourcemapMap . get ( file ) , } ; } return null ; } , } ) ; }