feat(build): add Lambda / Lambda Edge adapter support and corresponding tests
What is this
The hono vite plugin for Lambda / Lambda Edge Deployment. The plugin creates the packaged JS file of HonoX that can be deployed to AWS Lambda Edge.
Changes
- Updated package.json to include Lambda / Lambda Edge adapter types and imports.
- Added aws-lambda / lambda-edge ada[ter
- Added tests for the Lambda Edge adapter to ensure correct project building and output validation.
Notes
I just found that this PR is a duplicate of #268 . However, this PR has the support for the lambda edge, too.
🦋 Changeset detected
Latest commit: ae9189a834aaad2d82478611fa51d02b7153ed4e
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| @hono/vite-build | Minor |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
HI @harajune
This PR also supports Lambda Edge, but supporting Lambda is duplicated by #268. We want to give priority to PRs for the earliest created. We will wait for a while for an update to #268.
Of course, it is ok.
Hi @harajune !
As @Mushus commented, we will go with this PR about supporting Lambda / Lambda Edge instead of #268.
@Mushus, can you review this? I'll also do it later.
Oh! Very happy to hear that!
Any feedback is welcome. I will also check the comment on #268 and consider improvements.
Any updates on the topic ? Would be nice to have vite supported aws with hono
@harajune Any chance of looking at this? (and updating README)