@scripty/webpack-after-compile-plugin
v0.2.3
Published
runs a javascript command after webpack build
Downloads
9
Readme
@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']]))
]
};