valid-module
💼 This rule is enabled in the following configs: ✅ recommended, 📦 recommended-publishable.
This rule checks that, if present, the module property is a non-empty string.
Examples
Section titled “Examples”{ "module": ["index.js", "secondary.js"]}{ "module": "index.js"}Related Rules
Section titled “Related Rules”require-module- Enforces that themoduleproperty is present.
Further Reading
Section titled “Further Reading”- [Legacy Information] How Webpack Decides What Entry to Load from a Package.json