A Vite plugin providing a visual asset management interface during development. Scans and catalogs images, videos, audio, fonts, documents, and data files; shows import locations, detects duplicates via MD5 hashing, and allows filtering by size/type/date. Includes a draggable floating panel, keyboard shortcuts (Alt+Shift+A), real-time updates via SSE, and bulk operations (download ZIP, copy paths, delete). Ships TypeScript types. Current version 1.0.6 (March 2025). Requires Vite >=5.0.0 and Node >=22. Peer dependency on vite (not bundled). Regular releases; actively maintained.
npm install vite-plugin-asset-managerVerified import paths — ran on the pinned version, not inferred.
Registers the AssetManager plugin in vite.config.ts with optional configuration for prefix, auto-inject, and exclusion patterns.
Update Node to v22+ and Vite to v5+.
In production, the plugin logic is stripped (Vite dev-only), but ensure you don't depend on the UI outside dev mode.
Add exclude patterns for node_modules, build output, etc.
Run `npm install vite-plugin-asset-manager -D` and use `import AssetManager from 'vite-plugin-asset-manager'`.
Use `import AssetManager from 'vite-plugin-asset-manager'` (default export) not `import { AssetManager }`.Update Vite to version 5 or newer.
Ensure you have the package installed and only import `withAssetManager` from `'vite-plugin-asset-manager/next'` inside a Next.js configuration file.
No dependency data recorded yet.