Can we switch off the warning if I'm not using `minifyJs`, please?
frederikhors opened this issue · comments
frederikhors commented
In my console I'm having this warning:
You have to install "terser" in order to use htmlnano's "minifyJs" module
.
I'm not using minifyJs
. I'm only using htmlnano like this:
posthtml([htmlnano()])
Can we switch off the warning if I'm not using minifyJs
, please?
Kirill Maltsev commented
I'm not using minifyJs. I'm only using htmlnano like this:
By default, htmlnano
loads with the safe
preset which has minifyJs
enabled. You can disable it if you don't need it:
posthtml([htmlnano({
minifyJs: false,
})])