jantimon/html-webpack-plugin

html-webpack-plugin cannot recognize some special syntax

jwangyangls opened this issue · 1 comments

env:
webpack v5,
node v16.13.1
npm v8.1.2
html-webpack-plugin v5.5.0
Please forgive me. I don't know if this is a bug.
My project uses some IE8 compatible syntax, but when using this plugin, the internal compression will throw errors and cannot recognize these syntax, If minify is set to false, there will be no such error. In production mode, minify is set to true. What can I do to avoid this error

html content(part)
image

error log 1:
image

error log2 :
image

plugin setting
image

sorry ,I found the error in my code .