Skip to content

prowner/process-updated-chunks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

process updated chunks Webpack plugin

Webpack plugin to perform a task on updated chunks

When you are watching your code with Webpack, and do some post-processing on the output chunks that have changed, add this plugin to your webpack config.

npm i process-updated-chunks -D

webpack.config.js
const ProcessUpdatedChunksPlugin = require('process-updated-chunks');
 
module.exports = {
  plugins: [
    new ProcessUpdatedChunksPlugin(chunk => {
        // process.stdout.write(chunk.name);
    })
  ]
}

About

Webpack plugin to perform a task on updated chunks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published