[CLEANUP] Remove log output
This commit is contained in:
parent
69ce429102
commit
1af08b69ee
3
index.js
3
index.js
@ -15,8 +15,6 @@ HtmlWebpackAlterDataPlugin.prototype.apply = function (compiler) {
|
|||||||
|
|
||||||
function processHtml(co, compilation) {
|
function processHtml(co, compilation) {
|
||||||
self.options.chunkFilenameReplacement.forEach(function(replacement) {
|
self.options.chunkFilenameReplacement.forEach(function(replacement) {
|
||||||
console.log('='.repeat(30))
|
|
||||||
console.log(replacement.tag)
|
|
||||||
co(replacement.tag).each(function(i, elem) {
|
co(replacement.tag).each(function(i, elem) {
|
||||||
var tag = co(elem)[0]
|
var tag = co(elem)[0]
|
||||||
if ( (!tag)
|
if ( (!tag)
|
||||||
@ -79,7 +77,6 @@ HtmlWebpackAlterDataPlugin.prototype.apply = function (compiler) {
|
|||||||
decodeEntities: false,
|
decodeEntities: false,
|
||||||
})
|
})
|
||||||
var scriptResult = processHtml(script, compilation).html()
|
var scriptResult = processHtml(script, compilation).html()
|
||||||
console.log(scriptResult)
|
|
||||||
co(co('script').get(i)).html(scriptResult)
|
co(co('script').get(i)).html(scriptResult)
|
||||||
})
|
})
|
||||||
data.html = co.html()
|
data.html = co.html()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user