if there is an ejs sentence in my template file
new HtmlWebpackPlugin({
filename: "../views/index.html",
template: "./src/templates/index.html"
})
if you execute it directly, you will get an error ReferenceError: user is not defined
but I think html-webpack-plugin doesn"t execute the ejs statement in template, but keeps the output as it is.
so how can I keep the output as it is?