Closed sgomes closed 3 weeks ago
📌 REPRODUCTION RESULTS
📌 FINDINGS/SCREENSHOTS/VIDEO Spearhead demo site:
TT4 Demo for comparison
Atomic site with Spearhead
📌 ACTIONS
I'm not sure if I'm looking at the correct file, @sgomes, but a version of it is loading on all contexts I tested. In Spearhead on a simple site, it loads from wp-content/plugins/gutenberg-core/v18.5.0-rc.1/build/blocks/index.min.js
but on TT4 and Atomic it comes from a different folder /wp-content/plugins/gutenberg-core/v18.4.1/build/interactivity/index.min.js?ver=18.4.1
, which might what you're referring to.
Since you have a PR lined up, I'm going to mark this as triaged.
Quick summary
The Spearhead theme seems to be loading large amounts of Gutenberg JS on the frontend, which doesn't appear to be necessary.
Steps to reproduce
Open a site using Spearhead and observe the loaded JS resources
What you expected to happen
Gutenberg JS such as
blocks/index.min.js
should not be includedWhat actually happened
Gutenberg JS is included
Browser
No response
Context
No response
Platform (Simple, Atomic, or both?)
No response
Other notes
No response
Reproducibility
Consistent
Severity
All
Available workarounds?
No but the platform is still usable
Workaround details
No response