Closed
Description
Feature to document
In the Debugging Optimization Bailouts doc, the snippet provided is
module.exports = {
//...
stats: {
// Examine all modules
maxModules: Infinity,
// Display bailout reasons
optimizationBailout: true,
},
};
However, maxModules
is not a valid parameter anymore, webpack will fail with the following message if the parameter is present in config.
`Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema.
- configuration.stats has an unknown property 'maxModules'`
An explanation of how bailout reasons for all modules can be displayed can also be helpful here
Author(s)
Additional information
N/A
[ ] I am willing to work on this issue and submit a pull request.
Metadata
Metadata
Assignees
Labels
No labels