This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

webpack-dependency-hint

1.0.0 • Public • Published

webpack-dependency-hint

A Webpack plugin that delivers a console output when a dependency check is recommended. The amount of days till the message should appear can be configured per default it's set to 90 days. To handle the date format it uses https://day.js.org/. and the Console output gets styles by https://www.npmjs.com/package/chalk.

image

Documentation

Usage

// webpack.config.js
const DependencyHint = require('webpack-dependency-hint');

module.exports = {
  // ... configuration settings here ...
  plugins: [
    new DependencyHint({
      lastUpdate: '01.01.2020',
    })
  ],
};

Options

Name Type Default Description
lastUpdate {String} "" The date of the last update or check.
daysTillWarning {Number} 90 The amount of days till the warning should appear.
inputFormat {String} "DD.MM.YYYY" The input date format.
outputFormat {String} "DD.MM.YYYY" The output date format.
warningText {String} "Please consider your project manager to arrange a dependency update." The additional text that appears in the console.

Package Sidebar

Install

npm i webpack-dependency-hint

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

5.21 kB

Total Files

4

Last publish

Collaborators

  • claudio.schaepper