# vite-plugin-image-duplicates **Repository Path**: wgbx/vite-plugin-image-duplicates ## Basic Information - **Project Name**: vite-plugin-image-duplicates - **Description**: vite插件:查找项目中是否有重复图片 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-12-11 - **Last Updated**: 2024-10-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

vite-plugin-image-duplicates

Find whether there are duplicate images in the project

[简体中文](./READM-ZH.md) ## Configuration Options | **Configuration Option Name** | **Required** | **Meaning** | **Default Value** | **Type** | | -------------- | ------------ | -------- | ---------- | -------- | | `imagePath` | No | The image path to be searched | src | `string` | | `imageType` | No | The image types to be searched | ['.jpg', '.jpeg', '.png', '.gif', '.bmp', '.svg', '.webp']|`Array` | | `outputResourcePathFormat` | No | The output resource path format | false | `Boolean` | ## [Installation](https://www.npmjs.com/package/vite-plugin-image-duplicates) ```bash npm install vite-plugin-image-duplicates -D // or pnpm add vite-plugin-image-duplicates -D ``` ## Usage - vue.config.js ```js import imageDuplicates from 'vite-plugin-image-duplicates' export default defineConfig({ plugins: [vue(), imageDuplicates()], }) ```