webpack-progress-ora-plugin
    TypeScript icon, indicating that this package has built-in type declarations

    1.5.10 • Public • Published

    Build Status npm version

    webpack-progress-ora-plugin

    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

    Install

    npm i webpack-progress-ora-plugin

    DownloadsWeekly Downloads

    7

    Version

    1.5.10

    License

    MIT

    Unpacked Size

    76.7 kB

    Total Files

    25

    Last publish

    Collaborators

    • s00d