unplugin-assets
v0.1.4
Published
<img src="https://raw.githubusercontent.com/zyyv/unplugin-assets/main/packages/client/public/logo.svg" style="width:100px;" />
Downloads
19
Readme
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