function resolveAliasPath(alias, path) {
    let matchedAliasKey = Object.keys(alias).find(aliasKey => path.startsWith(aliasKey));
    return matchedAliasKey
        ? join(alias[matchedAliasKey], path.substring(matchedAliasKey.length)) : path;
}
resolve path with webpack alias

@param {Object} alias alias object
@param {string} path path starts with alias
@return {string} resolved path