Release 2.27.1

This commit is contained in:
Jan Nicklas 2017-01-29 14:46:14 +01:00
parent 61ec618c53
commit 9bdb6189ea
3 changed files with 6 additions and 3 deletions

View File

@ -1,11 +1,14 @@
Change History
==============
v2.27.1
---
* Revert 2.25.0 loader resolving
v2.27.0
---
* Fix a chunksorter webpack 2 issue (#569)
* Fix template path resolving(#542)
* Revert 2.25.0 loader resolvement
v2.26.0
---

View File

@ -605,7 +605,7 @@ HtmlWebpackPlugin.prototype.createHtmlTag = function (tagDefinition) {
HtmlWebpackPlugin.prototype.getFullTemplatePath = function (template, context) {
// If the template doesn't use a loader use the lodash template loader
if (template.indexOf('!') === -1) {
template = 'html-webpack-plugin/lib/loader.js!' + path.resolve(context, template);
template = require.resolve('./lib/loader.js') + '!' + path.resolve(context, template);
}
// Resolve template path
return template.replace(

View File

@ -1,6 +1,6 @@
{
"name": "html-webpack-plugin",
"version": "2.27.0",
"version": "2.27.1",
"description": "Simplifies creation of HTML files to serve your webpack bundles",
"main": "index.js",
"files": [