Skip to main content
All rules

PERF-010

JavaScript is not minified

MediumDefault severity · Performance · SEO, quality and performance

Last reviewed

What it checks

Same-site scripts over 20 KB that still have source formatting (many short, indented lines).

Why it matters

Unminified code is often two to three times larger, so it downloads and parses more slowly.

Recommended fix

Ship the production build, which minifies JavaScript.

How to verify

Open one of the listed files and confirm it is minified.

Example fix prompt

Generic prompt (your report adds the evidence)
Please fix this production issue in my app.

Issue PERF-010: JavaScript is not minified
Site: https://your-app.example

First confirm the issue in the code or live config. If it is not present, say so and change nothing.
Task: Make sure the deployed JavaScript in the evidence is minified: build with the production mode of the bundler (or add a minifier step) instead of serving source files.

Constraints: make the smallest change that fixes this, keep the current design and behaviour, never paste secret values into code or chat, and tell me which files you changed.
Done when: Open one of the listed files and confirm it is minified.

References