3.0.0 • Published 4 months ago

webpack-watch-external-files-plugin v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

npm bundlephobia Publish on NPM node-lts NPM

Install

npm install webpack-watch-external-files-plugin --save-dev
# or
yarn add webpack-watch-external-files-plugin --dev

Usage

// webpack.config.js:

const WatchExternalFilesPlugin = require('webpack-watch-external-files-plugin');

module.exports = {
  plugins: [
    new WatchExternalFilesPlugin({
      files: ['/path/**/*.js', '/path/tofile.txt', '!./src/**/*.json'],
    }),
  ],
};

Options

new WatchExternalFilesPlugin({
  files: [],
});