close
Skip to content

Interface: PluginMeta

Descriptive metadata a plugin can expose about itself.

Set it via the meta property of the plugin object.

Properties

description?

  • Type: string
  • Optional

A short, human-readable description of what the plugin does.


packageName?

  • Type: string
  • Optional

The name of the npm package the plugin ships in, e.g. @vitejs/plugin-vue.


version?

  • Type: string
  • Optional

The version of the npm package the plugin ships in, e.g. 5.0.0. The version field of that package's package.json.

Was this page helpful?