Wrapped with path.join to fix test on io.js
This commit is contained in:
parent
517dfbac32
commit
396cdedf8a
2
index.js
2
index.js
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue