0.1.0 • Published 2 years ago

watch-file-change-and-run-callback-webpack-plugin v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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