@medusajs/admin-vite-plugin
Documentation | Website
Building blocks for digital commerce
Vite plugin for the Medusa Admin dashboard: finds admin extensions (widgets, UI routes, custom fields, layouts, translations, and more) under src/admin in a Medusa application or plugin and loads them into the dashboard. It's internal plumbing used by @medusajs/admin-bundler and the @medusajs/dashboard dev server, so you don't need to install or configure it in a Medusa application.
At a glance
| Package | @medusajs/admin-vite-plugin |
| Type | Internal tooling |
| Import from | @medusajs/admin-vite-plugin (default export) |
Configuration
| Option | Type | Description | Default |
|---|---|---|---|
sources |
string[] |
Paths of the Medusa application or plugin directories to load admin extensions from. | [] |
pluginMode |
boolean |
Build extensions for a Medusa plugin instead of an application. | false |