watch-file-change-and-run-callback-webpack-plugin

0.1.0 • Public • Published

watch-file-change-and-run-callback-webpack-plugin

version license size download

🚧 WIP Project

Compatible with Webpack 5 & 4.

Installation

yarn add watch-file-change-and-run-callback-webpack-plugin

Usage

new WatchFileAndRunCallbackWebpackPlugin({
  matchs: [
    {
      filePath: `${SRC_DIR}/styles/1.less`,
      callback: () => console.log('1'),
    },
    {
      filePath: `${SRC_DIR}/styles/2.less`,
      callback: () => console.log('2'),
    },
  ],
})

License

MIT © Jason Feng

Dependents (0)

Package Sidebar

Install

npm i watch-file-change-and-run-callback-webpack-plugin

Weekly Downloads

3

Version

0.1.0

License

MIT

Unpacked Size

7.21 kB

Total Files

6

Last publish

Collaborators

  • solidzoro