1.0.7 • Published 9 months ago

dependency-checker-webpack-plugin v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

npm node npm size

  npm i --save-dev dependency-checker-webpack-plugin
  yarn add --dev dependency-checker-webpack-plugin

The plugin will output information in the console and toast of Windows, MacOS or Linux, for this you need to add it as below and add the package names to the dependency list for checking:

webpack.config.js

import DependencyCheckerPlugin from 'dependency-checker-webpack-plugin';

module.exports = {
  ...
  plugins: [new DependencyCheckerPlugin({
    depNames: ['dependency-checker-webpack-plugin']
  })],
  ...
};

It will create a notification for dependencies that have new versions.

new DependencyCheckerPlugin({
  depNames: array,
  options?: object
})
NameTypeDefaultDescription
depNames{Array.<string>}''Names of packages to be checked
options.showToast{Boolean}trueEnable toast of Windows, MacOS or Linux
options.showConsole{Boolean}trueEnable notify in console
options.devServerOnly{Boolean}trueFor DevServer only
options.disableCertValid{Boolean}falseNODE_TLS_REJECT_UNAUTHORIZED = 0 or 1
1.0.7

9 months ago

1.0.2

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago