webpack-progress-ora-plugin
v1.5.10
Published
A progress ora plugin for Webpack.
Downloads
137
Readme
webpack-progress-ora-plugin
Installation
npm i -D webpack-progress-ora-plugin
Usage
Include the following in your Webpack config.
var WebpackProgressOraPlugin = require('webpack-progress-ora-plugin');
...
plugins: [
new WebpackProgressOraPlugin()
]
import { WebpackProgressOraPlugin } from "webpack-progress-ora-plugin";
...
plugins: [
new WebpackProgressOraPlugin()
]
Options
Accepts almost all of the same options as ora.
additional
- pattern - pattern for message(default: chalk.bold('[') + ':percent:%' + chalk.bold('] ') + chalk.cyan.bold(':text:'))
- params: :percent: - percent complete; :text: - build stage
- stderr_check - check stderr and show message if not exist(default: false)
- pattern_no_stderr -(default: ▒)
- clear - clear terminal after start and end build
- clear_on_update - clear terminal when progress update
- update_render - render text every update progress
new WebpackProgressOraPlugin({
stderr_check: true,
interval: 300
})
License
MIT