const sorcery = require ( 'sorcery' ) ; /**
 * Finds the original sourcemap of the file and maps it to the current file.
 * This is useful when multiple transformation happen (e.g `TSC -> Rollup -> Uglify`)
 */ export async function remapSourcemap ( sourceFile ) { return ( await sorcery . load ( sourceFile ) ) . write ( ) ; }