-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
My webpack config
new HtmlResWebpackPlugin({
mode: 'html',
filename: config.build.index,
template: "index.html",
inject: true,
chunks:
{
'app.js':{}
}
}),
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
Metadata
Metadata
Assignees
Labels
No labels