honojs / vite-plugins

Vite Plugins for Hono
https://hono.dev
123 stars 34 forks source link

feat(build): add Deno adapter #181

Closed nakasyou closed 2 weeks ago

nakasyou commented 2 weeks ago

I added adapter for Deno for build plugin. It uses Deno.serve.

import denoBuildPlugin from '@hono/vite-build/deno'
changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: 34c75490516c575ada804ee850a1a7255f5c4b2b

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

yusukebe commented 2 weeks ago

Hey @nakasyou

Thank you for the great PR. I've left comments. The reason that the CI is failing is a typo of ./dist/adapter/cloudflate-workers/index.d.ts.

yusukebe commented 2 weeks ago

Hi @nakasyou

The CI is falling with another problem. The test became flaky. But this PR does not have a problem. So, I'll merge this first and fix it later. Thanks!