Skip to content

dylang/npm-check-webpack-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm-check-webpack-plugin

Uses the npm-check library to check for missing dependencies before running a webpack build. By default, if it finds any missing or outdated dependencies it will automatically run npm install before continuing with the build.

Installation

npm install npm-check-webpack-plugin

Usage

In webpack.config.js (or whatever file you have your webpack config in):

var NpmCheckPlugin = require('npm-check-webpack-plugin');
/* ES6:
   import NpmCheckPlugin from 'npm-check-webpack-plugin';
 */

module.exports =
  { //... webpack config
    plugins:
      [ new NpmCheckPlugin(/* { autoInstall: [false|true*] silent: [false*|true] }*/)
      ]
  };

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%