In short
Duplicated JavaScript pinpoints identical modules or libraries loaded more than once on the page, for example two copies of jQuery, or a library bundled separately by two plugins. Each copy costs download and parse time. Load one shared copy.
This was "Remove duplicate modules in JavaScript bundles."
Replaced: duplicated-javascript.
Common causes
Two plugins or apps each bundling the same library.
A theme loading a library and a plugin loading it again from a CDN.
Several separate builds on one page (widgets, micro-frontends).
How to fix it
WordPress: plugins should use WordPress's bundled scripts (wp_enqueue_script dependencies). If one loads its own copy, ask the author or switch plugins. Shopify: check apps injecting their own library copies. Custom builds: deduplicate dependencies (npm dedupe) and share common chunks between bundles.
This insight needs source maps to see inside bundles. Without them, it may miss duplicates.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Duplicated JavaScript

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



