honojs / vite-plugins

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

feat(cloudflare-pages): custom `_routes.json` #135

Closed ryuapp closed 4 months ago

ryuapp commented 4 months ago

Creating a public/_routes.json will override the automatic generation. This is useful when we want to write include/exclude accurately.

changeset-bot[bot] commented 4 months ago

🦋 Changeset detected

Latest commit: 2613ca90a02e788c5bf70e556d3b16d6164c4fde

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-cloudflare-pages | 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 4 months ago

Hi @ryuapp

Sounds good! One thing, could you run yarn changeset at the top of the project and push it? This will be a minor change.

ryuapp commented 4 months ago

Thank you for your check, @yusukebe. I add a changeset. In addition, I write the description for custom _routes.json in README and adjust test a bit.

yusukebe commented 4 months ago

In addition, I write the description for custom _routes.json in README and adjust test a bit.

Cool!

Let's ship it. Thanks!