honojs / vite-plugins

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

feat(build): add Deno adapter #181

Closed nakasyou closed 1 month ago

nakasyou commented 1 month ago

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

import denoBuildPlugin from '@hono/vite-build/deno'
changeset-bot[bot] commented 1 month 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 1 month 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 1 month 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!