npm.io
1.7.7 • Published 6 years ago

bigbrother-webpack-plugin

Licence
ISC
Version
1.7.7
Deps
7
Size
38 kB
Vulns
1
Weekly
0
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

bigbrother-webpack-plugin

Badges

TNPM version TNPM downloads [![install size][install-size-image]][install-size-url] node >=8.0.0


Install

$ npm i bigbrother-webpack-plugin -D

Usage

const BigBrother = require('bigbrother-webpack-plugin');

module.exports = function(webpackConfig) {
  webpackConfig.plugins.push(new BigBrother({
    cwd: process.cwd(),
    tool: {
      name: 'your tool',
      version: '0.0.x',
    },
    stagesPath: '',
    buildConfig: {},
  }));
  return webpackConfig;
};

Keywords