packages/master-tasks/tasks/srcmap.js
function getCodeMap(node) {
    const code_map = node.toStringWithSourceMap();

    // patch
    node.walkSourceContents(function (sourceFile, sourceContent) {
        if (!code_map.map._sources.has(sourceFile)) {
            code_map.map._sources.add(sourceFile);
        }
    });

    return code_map;
}
function getCodeMap(node) {
    const code_map = node.toStringWithSourceMap();

    // patch
    node.walkSourceContents(function (sourceFile, sourceContent) {
        if (!code_map.map._sources.has(sourceFile)) {
            code_map.map._sources.add(sourceFile);
        }
    });

    return code_map;
}
function getCodeMap ( node ) { const code_map = node . toStringWithSourceMap ( ) ; // patch node . walkSourceContents ( function ( sourceFile , sourceContent ) { if ( ! code_map . map . _sources . has ( sourceFile ) ) { code_map . map . _sources . add ( sourceFile ) ; } } ) ; return code_map ; }
get code map with path from node
get code map with path from node