@scripty/webpack-after-compile-plugin

0.2.3 • Public • Published

@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']]))
    ]
};

Package Sidebar

Install

npm i @scripty/webpack-after-compile-plugin

Homepage

garic.biz

Weekly Downloads

1

Version

0.2.3

License

MIT

Unpacked Size

1.77 kB

Total Files

3

Last publish

Collaborators

  • garic