@scripty/webpack-after-compile-plugin
Description
runs a javascript command after webpack build
Usage
npm install @scripty/webpack-after-compile-plugin --save-dev
Client: webpack.config.js
const {
WebpackAfterCompilePlugin
printTable
} = require('@scripty/webpack-after-compile-plugin');
const webpackConfig = {
...
...
plugins: [
new WebpackAfterCompilePlugin('RandomCommandName', () => printTable([['col1', 'col2'], ['val1', 'val2']]))
]
};