Skip to content

V2.15.4#142

Merged
jasperf merged 1 commit into
mainfrom
v2.15.4
Jul 6, 2026
Merged

V2.15.4#142
jasperf merged 1 commit into
mainfrom
v2.15.4

Conversation

@jasperf

@jasperf jasperf commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

This release removes a vestigial import.meta.glob(['../images/**', '../fonts/**']) call from resources/js/app.js and bumps the theme to version 2.15.4. The glob call became dead code once Vite 8 began tree-shaking unused glob invocations (as documented in the 2.15.3 release), and both asset paths it previously targeted are already handled through supported mechanisms: images via the assets option in vite.config.js, and fonts via real url() references in resources/css/fonts.css that keep them in the module graph. The change is purely a cleanup with no functional impact, verified against the production build output to confirm all font and image manifest entries remain intact. Documentation and version metadata across CHANGELOG.md, readme.txt, and style.css are updated to reflect the 2.15.4 release.

Code Cleanup:

  • Removed the leftover import.meta.glob(['../images/**', '../fonts/**']) call at the top of resources/js/app.js, which stopped emitting assets after the Vite 8 tree-shaking behavior introduced in 2.15.3 and duplicated coverage already provided elsewhere in the build pipeline.
  • Confirmed via npm run build that all font and image manifest entries are unaffected, establishing the removal as a no-op with respect to output assets.

Version and Documentation Updates:

  • Bumped the theme version from 2.15.3 to 2.15.4 in both style.css and the readme.txt stable tag to align packaged metadata with the release.
  • Added a 2.15.4 entry to CHANGELOG.md and readme.txt documenting the removal, the rationale tied to the Vite 8 tree-shaking change, and the alternate handling of images (via the vite.config.js assets option) and fonts (via CSS url() imports).

Files Changed:

Dead since Vite 8 tree-shakes unused globs; images are handled by the
assets option in vite.config.js and fonts via real url() references in
fonts.css. Bump theme version to 2.15.4.
@jasperf jasperf merged commit 1f92a83 into main Jul 6, 2026
3 checks passed
@jasperf jasperf deleted the v2.15.4 branch July 6, 2026 02:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant