webpack-simple-progress-plugin
webpack plugin for showing simple progress bar
Last updated 10 years ago by hyunchulkwak .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install webpack-simple-progress-plugin 
SYNC missed versions from official npm registry.

webpack-simple-progress-plugin

webpack-simple-progress-plugin

Install

$ npm install webpack-simple-progress-plugin --save-dev

Usage

Add the plugin to your webpack config like below.

var SimpleProgressPlugin = require('webpack-simple-progress-plugin');
var webpackConfig = {
  entry: 'index.js',
  output: {
    path: 'dist',
    filename: 'bundle.js'
  },
  plugins: [
    new SimpleProgressPlugin()
  ]
};

Options

new SimpleProgressPlugin(options: object)
property type description
messageTemplate string A template of progress and message shown while bundling modules. You can also use node-progress token. :msg shows current message of webpack ProgressPlugin.
progressOptions object node-progress options to draw progress bar. defaults are shown below.

defaults

{
  messageTemplate: [':bar', chalk.green(':percent'), ':msg'].join(' ')
  progressOptions: {
    complete: chalk.bgGreen(' '),
    incomplete: chalk.bgWhite(' '),
    width: 40,
    total: 100,
    clear: false
  }  
}

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Current Tags

  • 0.0.5                                ...           latest (6 years ago)

5 Versions

  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           9 years ago
  • 0.0.3                                ...           9 years ago
  • 0.0.2                                ...           9 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 11
Today 0
This Week 2
This Month 11
Last Day 0
Last Week 3
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE