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
Since you are able to put multiple Webpack configs in to an array, it would be nice to use the outcome of that JSON as well! Maybe using a dropdown menu to switch between the modules. This might be a special case, but it is really easy to implement.
var modules = json.modules;
if (json.children) {
modules = json.children[index].modules;
}
The text was updated successfully, but these errors were encountered:
I have an example of this, my webpack.config.js exports an array with 2 configs [clientConfig, serverConfig] and the result of dropping the stats file onto the visualizer page is this error on the console:
Uncaught TypeError: Cannot read property 'forEach' of undefined
at n (build.js:23)
at e.handleFileUpload (build.js:18)
at FileReader.n.onloadend (build.js:23)
I've sent you an email with a link to the stats file.
Since you are able to put multiple Webpack configs in to an array, it would be nice to use the outcome of that JSON as well! Maybe using a dropdown menu to switch between the modules. This might be a special case, but it is really easy to implement.
The text was updated successfully, but these errors were encountered: