code: function absAliasPaths(alias) {
      return Object.keys(alias).reduce( (prev, key) => {
          prev[key] = alias[key].split(path.sep)
              .filter(item => !!item)
              .reduce((prev, item) => path.resolve(prev, item),  path.sep);
          return prev;
      }, {});
  }
docs: Created by june on 2017/1/5.
   
  
  @param alias
  @returns {Variable|*}
  @example
  
  input:
  '/node_modules/lib/'
  output:
  '/node_modules/lib'