[BUGFIX] XML HTML confusion
This commit is contained in:
parent
40d0cd19d1
commit
6b51bdaaef
2
index.js
2
index.js
@ -18,7 +18,7 @@ HtmlWebpackAlterDataPlugin.prototype.apply = function (compiler) {
|
||||
|
||||
if ('chunkFilenameReplacement' in this.options) {
|
||||
var html = cheerio.load(data.html, {
|
||||
xmlMode: true,
|
||||
recognizeSelfClosing: true,
|
||||
})
|
||||
this.options.chunkFilenameReplacement.forEach(function(replacement) {
|
||||
var tags = html(replacement.tag)
|
||||
|
Loading…
x
Reference in New Issue
Block a user