wpcli-webpack-plugin

2.0.1 • Public • Published

wpcli-webpack-plugin

NPM version Travis Build Status dependencies Status devDependencies Status Greenkeeper badge

Webpack plugin for wp-cli

Install

npm install --save-dev wpcli-webpack-plugin

Usage

import WpCliWebpackPlugin from 'wpcli-webpack-plugin';
 
export default {
    plugins: [
        new WpCliWebpackPlugin({
            args: ['cli', 'version']
        }, {
            bin: 'path/to/wp-cli.phar',
        })
    ]
};

API

  • command (require) string or array - Executable command or commands.

  • options (optional) object - Options.

    • bin - Path to wp-cli bin.

Related

  • wpcli - Api for this package.

Contribution

Feel free to push your code if you agree with publishing under the MIT license.

Changelog

License

Dependencies (2)

Dev Dependencies (32)

Package Sidebar

Install

npm i wpcli-webpack-plugin

Weekly Downloads

4

Version

2.0.1

License

MIT

Last publish

Collaborators

  • cap-bernardito
  • evilebottnawi
  • itgalaxy-owner