A Vite plugin for building Adobe UXP plugin panels. Version 1.2.5 is current. Provides seamless integration between Vite's fast development server and Adobe's UXP environment, enabling hot reload, CSS injection, and TypeScript support for UXP panels. Automatically handles UXP-specific module bundling and polyfills. Key differentiator: replaces the slow UXP Developer Tool workflow with Vite's instant HMR, making UXP panel development modern and efficient.
npm install vite-uxp-pluginVerified import paths — ran on the pinned version, not inferred.
Configures Vite with the UXP plugin, specifying the manifest and enabling hot reload during development.
Set manifestVersion: 4 in plugin options.
Upgrade UXP Developer Tool to version 7+ or stay on v0.x.
Replace `watch: true` with `reload: true`.
Ensure CSS is imported via import statement, not via <link> tag.
Remove `build.lib` config or use separate Vite configs for library and plugin.
Add manifestVersion: 4 to plugin options in vite.config.ts.
Use ES module syntax (import/export) instead of CommonJS (require/module.exports).
Run terminal as Administrator or move project to a directory without restricted permissions (e.g., C:\Users\<name>\Projects).
Ensure manifest.main is defined (e.g., 'index.html').