Skip to content

yangli-io/webpack-unused-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack Unused Plugin

Installation

npm install webpack-unused-plugin

Usage

import UnusedPlugin from 'webpack-unused-plugin';

// ...  
plugins: [new UnusedPlugin({
    filename: 'unused-files.json',
    ignore: [/\/server\//. /\.spec\./, /\.test\./],
    srcPath: './src/**/*.js'
})],
// ...

About

A webpack plugin for unused files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published