@cloudflare/worker-bundler@0.2.6

nari-labs/dia2@cloudflare/worker-bundler@0.2.6Oct 7, 2026by github-actions[bot]

Upgrading?

AI Summary

This patch fixes package subpath imports resolution, ensuring that files requested via paths like 'ajv/dist/compile/codegen' resolve correctly when a package has a 'main' field but no 'exports' map.

Key Highlights

  • Fix package subpath imports resolution

New Features

  • Resolve package subpath imports correctly

Full Release Notes

### Patch Changes

-   [#2471](https://github.com/cloudflare/agents/pull/2471) [`26798f1`](https://github.com/cloudflare/agents/commit/26798f1b57c45521c55a4f6fcd260467654bab15) Thanks [@mattzcarey](https://github.com/mattzcarey)! - Resolve package subpath imports such as `ajv/dist/compile/codegen` to the requested file when the package has a `main` field but no `exports` map. They previously resolved to the package's root entrypoint.

Related Repositories