Socket
Socket
Sign inDemoInstall

webpack-progress-bar

Package Overview
Dependencies
293
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-progress-bar

webpack-progress-bar


Version published
Weekly downloads
165
increased by5.77%
Maintainers
1
Install size
20.6 MB
Created
Weekly downloads
 

Readme

Source

webpack-progress-bar

webpack-progress-bar

安装 install

npm i webpack-progress-bar -D 
yarn add webpack-progress-bar -D

使用 use

const WebpackProgressBar = require('webpack-progress-bar')

plugins: [
  new WebpackProgressBar()
]

选项 options

// default options
new WebpackProgressBar({
  incomplete: {      
    // 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white'
    // '黑色','红色','绿色','黄色','蓝色','品红','青色','白色' 
    bg: 'white',
    content: ' '
  },
  complete: {
    bg: 'green',
    content: ' '
  },
  width: 25, // Control progress bar width. 控制进度条宽度
  clear: true, // Clear the progress bar after compilation is complete.编译完成后清除进度条。
  total: 100 
})

Keywords

FAQs

Last updated on 20 Apr 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc