extra-watch-webpack-plugin
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/extra-watch-webpack-plugin package

1.0.3 • Public • Published

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

support webpack@1,2,3,4

Install

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

Options

  • files: string (absolute path or glob pattern) or array, default [], attach extra files to webpack's watch system
  • dirs: string or array, default [], attach extra dirs to webpack's watch system

Usage

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

Package Sidebar

Install

npm i extra-watch-webpack-plugin

Weekly Downloads

24,991

Version

1.0.3

License

MIT

Unpacked Size

10.6 kB

Total Files

6

Last publish

Collaborators

  • pigcan