@cloudflare/vitest-pool-workers@0.16.9
📦 cloudflare-workersView on GitHub →
✨ 2 features🐛 1 fixes🔧 2 symbols
Summary
This patch updates dependencies and significantly shrinks the published bundle size by correctly deriving bundler externals from package.json and improving tree-shaking.
✨ New Features
- Bundler now derives the external list from `package.json`'s `dependencies` + `peerDependencies`, preventing `devDependencies` from being incorrectly externalized.
- Unused `cloudflared` / `tunnel` exports are now tree-shaken out of `dist/pool/index.mjs` due to the new `"sideEffects": false` declaration in `@cloudflare/workers-utils`.
🐛 Bug Fixes
- Fixed an issue where `dist/pool/index.mjs` contained an unnecessary top-level import of `undici` which was only resolved due to pnpm hoisting during local development.