These options determine how the different types of modules within a project will be treated. module.defaultRules An array of rules applied by default for modules. See source code for details. module.exports = { module: { defaultRules: [ '...', // you can use "..." to reference those rules applied by webpack by default ], }, }; Starting with webpack 5.87.0, falsy values including 0, "", false, null