The Wire · Showcase
LARAVEL ECHO SHRINKS BUNDLES 33% ON VITE 8
By RepoJournal · Filed · About Laravel
Echo's move to Vite 8 and Rolldown cuts ESM bundle sizes by a third, but the real win is a fix for React Native consumers that were choking on import.meta.
Laravel Echo upgraded its build to Vite 8, swapping Rollup for Rolldown and cutting ESM bundle sizes by roughly 33% thanks to oxc-minify [1]. The PR also drops esbuild from the dependency tree entirely, replacing it with Vite's transformWithOxc [1]. Meanwhile, a separate fix ensures React Native consumers resolve to the CommonJS bundle, since Metro can't parse import.meta [2]. Over in the framework, a security report is flagged: a contributor asks Taylor Otwell to check email for a "serious security report" [3]. The same PR fixes a bug where literal dots in input keys like "profile.name" were mistaken for nested arrays [3]. Also in the framework, tests got a cleanup with fixture directories normalized to Fixtures [4], and a memcached test was pinned to eliminate second-boundary flakes [5]. Nightwatch added the ability to limit event ingestion per app or environment via an event listener, useful for controlling costs across shared caches [6].
One email a day. Unsubscribe in one click.
Keep up with Laravel in about 3 minutes a day: what actually shipped — the commits, pull requests, releases, and security advisories that matter.
One email a day. Unsubscribe in one click. Read a past issue →
Action items
- → Review Laravel Echo PR #542 and #544 if you use Echo with React Native or want smaller bundles laravel/echo [plan]
- → Monitor laravel/framework PR #61313 for security updates and check your email if you're Taylor Otwell laravel/framework [immediate]
- → Watch Nightwatch PR #418 for ingestion limits if you're on a shared cache laravel/nightwatch [monitor]
References
- [1] build: upgrade to vite 8 and migrate to unplugin-dts ↗ laravel/echo
- [2] fix(react): resolve react-native consumers to the commonjs bundle (#544) laravel/echo
- [3] [13.x] Treat literal dots in input keys correctly when rejecting unknown fields ↗ laravel/framework
- [4] Normalize test fixtures ↗ laravel/framework
- [5] Pin time in the memcached touch test to remove the second-boundary flake (#61301) laravel/framework
- [6] Allow limiting events ingested per app / env based on an event listener ↗ laravel/nightwatch