webpack-simple-progress-plugin

0.0.5 • Public • Published

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)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.5
    1,160
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.5
    1,160
  • 0.0.4
    14,225
  • 0.0.3
    3
  • 0.0.2
    171
  • 0.0.1
    6

Package Sidebar

Install

npm i webpack-simple-progress-plugin

Weekly Downloads

15,565

Version

0.0.5

License

MIT

Unpacked Size

4.3 kB

Total Files

4

Last publish

Collaborators

  • hyunchulkwak