@hey-api/vite-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.2.0Β β€’Β PublicΒ β€’Β Published
Hey API logo

Vite Plugin

πŸš€ Vite plugin for `@hey-api/openapi-ts` codegen.

Platform

Our platform for OpenAPI specifications is now available. Automatically update your code when the APIs it depends on change. Find out more.

Documentation

Please visit our website for documentation, guides, migrating, and more.

Sponsors

Love Hey API? Become our sponsor.

Stainless logo

Usage

Add to plugins inside your Vite configuration.

import { heyApiPlugin } from '@hey-api/vite-plugin';

export default defineConfig({
  plugins: [
    heyApiPlugin({
      config: {
        // optional configuration instead of using the configuration file
      },
    }),
  ],
});

Package Sidebar

Install

npm i @hey-api/vite-plugin

Homepage

heyapi.dev/

Weekly Downloads

74

Version

0.2.0

License

MIT

Unpacked Size

6.16 kB

Total Files

9

Last publish

Collaborators

  • mrlubos
OSZAR »