简体   繁体   中英

How can I disable the html minification in the htmlwebpackplugin config?

I am developing a react app I tried to change the configs into minify: false but it didn't work? any suggestions on How to fix this? This is a snap of the Error: The error screenshot

Add webpack.config.js

optimization: {
    minimize: false,
    minimizer: [
        minify: false
    ],
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM