vite-plugin-not-using
v0.0.1-beta.1
Published
> analyze project files and find out which fields are not used
Readme
vite-plugin-not-using
detect the project files not using in the project. (allow output result to file)
Features
- [x] detect the project truly using files with vite
- [x] allow report the result to file
- [x] allow ignore some files or just include some files
Try it now
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import Plugin from '../../src/index';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
vue(),
Plugin({
root: process.cwd(),
include: ['src/**/*'],
exclude: ['node_modules/**', 'dist/**'],
}),
],
});