Closed kwhitley closed 1 year ago
🧪 A prerelease is available for testing 🧪
You can install this latest build in your project with:
npm install --save https://prerelease-registry.devprod.cloudflare.dev/itty-router-openapi/runs/5280175720/npm-package-itty-router-openapi-60
Or you can immediately run this with npx
:
npx https://prerelease-registry.devprod.cloudflare.dev/itty-router-openapi/runs/5280175720/npm-package-itty-router-openapi-60
Thanks @kwhitley for doing this work 😄 i will do some manual tests tomorrow and publish a new release early next week with this changes
Happy to! I'm still fighting with making sure the exports are CJS/ESM compatible in all the various configs... if pathing/include changes in the near term, I'll be sure to PR again if any changes are needed on this side :)
Hey @kwhitley i had to update your changes to import from itty-router
instead of itty-router/cjs/Router
as you have made in this pr, due to some execeptions that were getting raised when running this new version in wrangler
Here is the commit
Changes
itty-router
dependency from3.x
to4.x
itty-router/cjs/Router
to minimize bundle sizeisomorphic-fetch
import to test files forResponse
support with contributorsThat's it!
Should be a seamless change for your users :)