warningbundling and minification
W6002
Side-effect-free, unused module removed by dead-code elimination
Warnings fail a build only with --deny-warnings. Change this one's level in wowlua.json: "check": { "lints": { "W6002": "allow" } } (or "deny").
Where the specification covers it
- 15. Optimization · 15.2.1 Dead modules
Nearby codes
| code | summary |
|---|---|
| E4335 | Packager @version-…@ blocks in a multi-version build |
| W4333 | .pkgmeta hg external cannot be converted |
| W6001 | Code inspects its own file name (debugstack, debuglocals), which changes when bundled |
| W6010 | An addon-site target (CurseForge, Wago, WoWInterface) publishes minified code (Blizzard AddOn policy: code must not be hidden or obfuscated) |
| W7001 | todo() in a release build |
| W7010 | Reflection metadata requested but reflection = "none" |