Another try at fixing the public path.

This commit is contained in:
Kees Kluskens 2015-09-28 23:48:54 +02:00
parent bba8e6bdf6
commit 3f55437bfb
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ HtmlWebpackPlugin.prototype.htmlWebpackPluginAssets = function(compilation, chun
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 = {