You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unhandled rejection TypeError: htmlContent.replace is not a function
I log the console.log(typeof compilation.assets[this.options.htmlFileName].source()), it is a function, but it should be a string.
So How do I fix this error
The text was updated successfully, but these errors were encountered:
My webpack config
And I meet a Error
Unhandled rejection TypeError: htmlContent.replace is not a function
I log the
console.log(typeof compilation.assets[this.options.htmlFileName].source())
, it is a function, but it should be a string.So How do I fix this error
The text was updated successfully, but these errors were encountered: