nl_tokens: Create a async - resolver from the given options and return as promise - wrapped function .
pl_tokens: function createResolver ( options ) { return ( moduleId , base ) => new Promise ( ( resolve , reject ) => { const resolver = new Resolver ( options . resolver ? options . resolver : { } ) ; resolver . resolve ( moduleId , base , ( err , absolutePath ) => { if ( err ) { if ( options . debugVcjd ) debug ( ` ${ moduleId } \n \t ${ base } ` ) ; return reject ( err ) ; } if ( options . debugVcjd ) <mask> ( ` ${ moduleId } \n \t ${ base } \n \t ${ base } ` ) ; return resolve ( absolutePath ) ; } ) ; } ) }