Release 2.27.1
This commit is contained in:
parent
61ec618c53
commit
9bdb6189ea
|
|
@ -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
|
||||
---
|
||||
|
|
|
|||
2
index.js
2
index.js
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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": [
|
||||
|
|
|
|||
Loading…
Reference in New Issue