unplugin-assets
Preview asset sources in DEV mode.
Usage
pnpm add unplugin-assets -D
import { defineConfig } from 'vite'
import Assets from 'unplugin-assets/vite'
export default defineConfig({
plugins: [
Assets({
// ...options
}),
],
})
Then you can see the previewed address in your terminal.
Assets: http://localhost:5173/__assets