This plugin allows you to run a shell command when a specfic file was changed at the end of the build process.
yarn add webpack-noodle-plugin -Dor
npm i webpack-noodle-plugin -DGo to webpack.config.js:
const webpackNoodlePlugin = require('webpack-noodle-plugin');
"plugins": [
new webpackNoodlePlugin({
filename: '<FILE-NAME>',
command: '<SHELL-COMMAND>'
})]filename: string: The name of the file to be watched. Example:myfile.ts.filenamecan also be partial, like:.spec.ts.command: The shell command that will run once this file was changed. Example:yarn process