resolve.js
function resolveAsync(p, base, root) {
  if (!path.isAbsolute(p)) {
    return new Promise(function(r, j) {
      resolve(forceRelative(p), {
        basedir: path.resolve(root, base)
      }, function(err, res) {
        if (err) {
          j(err);
        } else {
          r(res);
        }
      });
    });

  } else {

    return Promise.resolve(p);
  }
}
function resolveAsync(p, base, root) {
  if (!path.isAbsolute(p)) {
    return new Promise(function(r, j) {
      resolve(forceRelative(p), {
        basedir: path.resolve(root, base)
      }, function(err, res) {
        if (err) {
          j(err);
        } else {
          r(res);
        }
      });
    });

  } else {

    return Promise.resolve(p);
  }
}
function resolveAsync ( p , base , root ) { if ( ! path . isAbsolute ( p ) ) { return new Promise ( function ( r , j ) { resolve ( forceRelative ( p ) , { basedir : path . resolve ( root , base ) } , function ( err , res ) { if ( err ) { j ( err ) ; } else { r ( res ) ; } } ) ; } ) ; } else { return Promise . resolve ( p ) ; } }
Resolve path the same way ans postcss-import

@return {Promise}
Resolve path the same way ans postcss - import