Skip to content

Repository files navigation

vite-plugin-image-duplicates

Find whether there are duplicate images in the project

简体中文

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<string>
outputResourcePathFormat No The output resource path format false Boolean
npm install vite-plugin-image-duplicates -D
// or
pnpm add vite-plugin-image-duplicates -D

Usage

  • vue.config.js
import imageDuplicates from 'vite-plugin-image-duplicates'

export default defineConfig({
  plugins: [vue(), imageDuplicates()],
})

About

Find whether there are duplicate images in the project

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages