@cloudflare/vite-plugin@1.30.0
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 2 fixes🔧 1 symbols
Summary
This release enables the local explorer UI by default for inspecting local resources during development and includes a fix for middleware splicing issues across different Vite versions.
✨ New Features
- Enabled the local explorer UI by default, accessible at /cdn-cgi/explorer during local development to inspect D1, DO, and KV resources.
- The local explorer feature is experimental and can be disabled by setting the environment variable X_LOCAL_EXPLORER=false.
🐛 Bug Fixes
- Fixed an issue where the plugin would fail to splice pre-middleware into the Vite middleware stack for Vite 8 scenarios by registering pre-middleware directly using server.middlewares.use().
- For Vite 6, the plugin now correctly moves the middleware to the proper position using a post hook.