extra-watch-webpack-plugin
extra-watch-webpack-plugin would help you to attach extra files or dirs to webpack's watch system
Last updated 2 years ago by pigcan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install extra-watch-webpack-plugin 
SYNC missed versions from official npm registry.

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' ],
    }),
  ],
}

Current Tags

  • 1.0.3                                ...           latest (2 years ago)

7 Versions

  • 1.0.3                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           3 years ago
  • 0.1.0                                ...           3 years ago

Copyright 2014 - 2016 © taobao.org |