@cloudflare/vite-plugin@1.23.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 1 fixes
Summary
This release introduces an experimental prerenderWorker configuration option and optimizes plugin performance for Vite 8 using Hook Filters. A bug fix ensures the .assetsignore file is always emitted for better asset isolation.
✨ New Features
- Add experimental.prerenderWorker option to the plugin config to enable configuring a dedicated Worker for prerendering at build time.
- Use Hook Filters to optimize plugin performance with Vite 8, skipping unnecessary Rust-to-JS calls with Rolldown powered Vite.
🐛 Bug Fixes
- Always emit a .assetsignore file in the client output directory to prevent a wrangler.json file being deployed as an asset if it is copied into this directory by mistake.