function assetsPath(path) {
    return posix.join(ASSETS_DIRNAME_IN_DIST, path);
}
generate a relative path based on config
eg. static/js/[name].[hash].js

@param {string} path source path
@return {string} relative path