Skip to content

sam-at-work/extra-watch-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM version Build Status Build status Coverage Status Dependency Status Greenkeeper badge

extra watch webpack plugin

extra-watch-webpack-plugin would help you to attach extra files or dirs to webpack's watch system

Install

npm install --save extra-watch-webpack-plugin

Options

  • files: string or array, defualt [], attach extra files to webpack's watch system

  • dirs: string or array, defualt [], attach extra dirs to webpack's watch system

Usage

// webpack.config.js
import ExtraWathWebpackPlugin from 'extra-watch-webpack-plugin';
......
{
  plugins: [
    new ExtraWathWebpackPlugin({
      fies: [ 'path/to/file' ],
      dirs: [ 'path/to/dir' ]
    }),
  ],
}

About

add extra files or dirs to webpack's watch system

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%