From c630d339c6c012f3962376ff2ff7a23c65c73bc5 Mon Sep 17 00:00:00 2001 From: Jan Nicklas Date: Wed, 8 Jul 2015 11:27:09 +0200 Subject: [PATCH] Bump version --- index.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index f411ddf..cfaabbc 100644 --- a/index.js +++ b/index.js @@ -171,10 +171,10 @@ HtmlWebpackPlugin.prototype.addFileToAssets = function(compilation, filename) { HtmlWebpackPlugin.prototype.htmlWebpackPluginAssets = function(compilation, webpackStatsJson, includedChunks, excludedChunks) { var self = this; - + // Use the configured public path or build a relative path var publicPath = typeof compilation.options.output.publicPath !== 'undefined' ? - compilation.options.output.publicPath : + compilation.options.output.publicPath : path.relative(path.dirname(self.options.filename), '.'); if (publicPath.length && publicPath.substr(-1, 1) !== '/') { diff --git a/package.json b/package.json index 63190c1..21fb4e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "html-webpack-plugin", - "version": "1.5.2", + "version": "1.6.0", "description": "Simplifies creation of HTML files to serve your webpack bundles", "main": "index.js", "files": [