melonmanchan/express-minify-html

Not sure of default minifyJS value

mcandre opened this issue · 1 comments

The source code declares an object with some default values, but I don't see minifyJS there. Is this assumed to be false by default?

The option minifyJS have been introduced to the codebase at 69177eb and was removed at 133a407, so the default value of minifyJS should be whatever the html-minifier library has, which is false at the moment. The readme should be updated though to not include the default settings for that.

https://www.npmjs.com/package/html-minifier#options-quick-reference