0.1.0 • Published 2 years ago
watch-file-change-and-run-callback-webpack-plugin v0.1.0
watch-file-change-and-run-callback-webpack-plugin
🚧 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