# vite-plugin-image-require

vite-plugin,图片require的处理

# Install

npm install vite-plugin-image-require -D
// vite.config.js
import { imageRequirePlugin } from 'vite-plugin-image-require'

export default {
  plugins: [
    imageRequirePlugin()
  ],
}