| Rule ID | perf/legacy-js |
| Category | Performance |
| Scope | Per-page |
| Severity | info |
| Weight | 3/10 |
Solution
Consider removing legacy polyfills if you don’t need to support old browsers. Use differential serving (module/nomodule) to send modern code to modern browsers. Update Babel/TypeScript target to ES2020+ if your audience uses modern browsers. Check browserslist configuration.Enable / Disable
Disable this rule
squirrel.toml
Disable all Performance rules
squirrel.toml
Enable only this rule
squirrel.toml