[wp-trac] [WordPress Trac] #64734: WordPress ZIP size grew 20MB in 7.0 due to adding the vips library
WordPress Trac
noreply at wordpress.org
Wed Mar 18 10:32:00 UTC 2026
#64734: WordPress ZIP size grew 20MB in 7.0 due to adding the vips library
------------------------------------+------------------------------
Reporter: berislav.grgicak | Owner: adamsilverstein
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 7.0
Component: General | Version: trunk
Severity: major | Resolution:
Keywords: dev-feedback has-patch | Focuses:
------------------------------------+------------------------------
Comment (by ellatrix):
@youknowriad There seems to be duplicated CSS in `/wp-includes/css/dist
/block-library/` for each block separately, this seems like an issue with
the new build script?
I believe another large part comes from the new Global Styles UI packages,
which is bundled in a lot of other packages instead of exported to a wp
global: https://github.com/WordPress/gutenberg/pull/72599. @youknowriad
any reason we can't make those private APIs?
And I'm guessing `build/routes/` has a similar situation with no scripts
reused.
Cc @mcsf regarding the icons, I guess there's nothing to be done but
wanted to double check if the 332 public icons is correct.
Here's what Claude found for me:
|| Item || Size increase || Notes ||
|| build/routes/ (new) || +5,500 KB || New admin pages — 6 list routes
~800KB each (unmin+min) ||
|| css/dist/block-library/<name>/ (new) || +3,000 KB || Unused duplicate
of per-block CSS already in blocks/ ||
|| editor.js + .min.js || +2,010 KB || global-styles-ui/engine bundled in
(no wpScript) + collaborators, style-book, revisions ||
|| script-modules (new, 6 packages) || +1,776 KB || latex-to-mathml,
abilities, route, workflow, boot, lazy-editor (unmin+min) ||
|| components.js + .min.js || +1,473 KB || Unminified grew +1,475KB due to
webpack→esbuild switch; .min.js unchanged (-2KB) ||
|| icons/library/ (new) || +1,300 KB || 332 SVG icon files, new directory
||
|| php-ai-client/ (new) || +956 KB || AI client PHP library ||
|| media-utils.js + .min.js || +840 KB || New media upload modal + media-
fields bundled in ||
|| block-editor.js + .min.js || +642 KB || global-styles-engine +
dataviews bundled in (no wpScript) ||
|| block-library.js + .min.js || +546 KB || New/changed blocks ||
|| sync.js + .min.js (new) || +468 KB || Real-time collaboration ||
|| css/dist/editor/ || +384 KB || Styles for global styles sidebar,
collaborators, etc. ||
|| 66 .min.asset.php (new) || +264 KB || Dependency manifests — didn't
exist in 6.9 ||
|| codemirror/espree.min.js (new) || +248 KB || JS parser for CodeMirror
||
|| theme.js + .min.js (new) || +188 KB || Design tokens package ||
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64734#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list