I have set {comments: null} (just a personal preference, null is a falsy value) in PluginOpts and it broke my build with the ERROR in unknown: Cannot read property 'test' of null. I was confused for quite some time untill I guessed to set comments explicitly to false and it worked.
I have set
{comments: null}
(just a personal preference,null
is a falsy value) in PluginOpts and it broke my build with theERROR in unknown: Cannot read property 'test' of null
. I was confused for quite some time untill I guessed to setcomments
explicitly tofalse
and it worked.