Skip to content

Vite Plugin ​

Runs hono-takibi.config.ts from the Vite dev server. Saving the spec or the config regenerates the code.

ts
// vite.config.ts
import { honoTakibiVite } from 'hono-takibi/vite-plugin'
import { defineConfig } from 'vite'

export default defineConfig({
  plugins: [honoTakibiVite()],
})

The config file must be at the project root. See Configuration for its contents.

Demo ​

Vite plugin regenerating code on save

Released under the MIT License.