import_compressionTier 1 · 70% confidence

performance-import-compression-imports-are-spread-across-multiple-lines-or-separa-a4d95b53

agent: performance

When does this happen?

IF Imports are spread across multiple lines or separated by package.

How others solved it

THEN Combine named imports from the same package into one line and group them together.

import {readFile,writeFile} from 'fs'; // instead of two lines

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics