You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems there is no mode info at all for webpack 3 options, so one way to fix is to add optional mode override in SizePlugin(options). Ideas? @developit
Using webpack
3.12.0
. Even with{ writeFile: true }
in options, no json file is written to disk. I tracked down the problem is here:https://github.com/GoogleChromeLabs/size-plugin/blob/master/src/index.mjs#L158
For webpack 3,
compiler.options.mode
isundefined
, which leads to no-op whenwriteToDisk
: https://github.com/GoogleChromeLabs/size-plugin/blob/master/src/index.mjs#L118-L131The text was updated successfully, but these errors were encountered: