Wrapped with path.join to fix test on io.js

This commit is contained in:
Oleksandr Khomenko 2015-09-14 17:18:38 -05:00
parent 517dfbac32
commit 396cdedf8a
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ HtmlWebpackPlugin.prototype.htmlWebpackPluginAssets = function(compilation, webp
path.relative(path.dirname(self.options.filename), '.');
if (publicPath.length && publicPath.substr(-1, 1) !== '/') {
publicPath = urlModule.resolve(publicPath + '/', '.') + '/';
publicPath = path.join(urlModule.resolve(publicPath + '/', '.'), '/');
}
var assets = {