github cloudflare/workers-sdk wrangler@0.0.22

latest releases: @cloudflare/quick-edit@0.2.3, @cloudflare/vitest-pool-workers@0.5.12, wrangler@3.78.12...
2 years ago

Patch Changes

  • #656 aeb0fe0 Thanks @threepointone! - fix: resolve npm modules correctly

    When implementing legacy module specifiers, we didn't throughly test the interaction when there weren't any other files next to the entry worker, and importing npm modules. It would create a Regex that matched every import, and fail because a file of that name wasn't present in the source directory. This fix constructs a better regex, applies it only when there are more files next to the worker, and increases test coverage for that scenario.

    Fixes #655

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.