Another try at fixing the public path.
This commit is contained in:
parent
bba8e6bdf6
commit
3f55437bfb
2
index.js
2
index.js
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue