nl_tokens: Resolve the required module id and replace the old module id using the resolved module id .
pl_tokens: function tryToResolveRequireModId ( t , path , state ) { let opts = state . opts || { } ; let resolveRequireId = opts . resolveDepRequireId ; let exportNode = path . node ; let source = exportNode . source ; if ( ! t . isStringLiteral ( source ) ) { return ; } let modId = <mask> . value ; let newModId = resolveRequireId ( modId ) ; if ( newModId && newModId !== modId ) { let requireIdNode = path . get ( 'source' ) ; requireIdNode . replaceWith ( t . stringLiteral ( newModId ) ) ; } }