-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
I got this error when trying to minify a simple html file
here is what the file look like
<!DOCTYPE html>
<html>
<head>
<title>site</title>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<div id="app"></div>
</body>
</html>here is my config
new HtmlWebpackPlugin({
template: __dirname + '/app/template.html',
filename: 'html/index.html',
inject: 'body',
hash: true,
minify:true
})if I remove the minify option, the process works fine. So there must be something wrong with minify option.
Metadata
Metadata
Assignees
Labels
No labels