Skip to content

william0119/slim-project-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

William

Webpack Slim Project Plugin

A Webpack plugin that output redundant files map for project.

Features

  • Output the redundant files sourcemap of project
  • Support custom configuration

Install

npm i webpack-slim-project-plugin --save-dev

Usage

// webpack.config.js

const WebpackSlimProjectPlugin = require("webpack-slim-project-plugin");

...
plugins: [
  new WebpackSlimProjectPlugin({
    include: [...],
    exclude: [...],
    ...
  }),
],
...

outputed the source map of redundant files(CleanRedundantFilesPlugin.json).

Issues

  • This plugin only supports projects built by webpack
  • Unable to accurately detect the dependency relationship of typescript
  • If other plugins in the project operated on compilation.fileDependencies, the result will not match expectations

About

A Webpack plugin that output redundant files map for project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published