nuxt/webpackbar

Name: webpackbar

Owner: NUXT

Description: Elegant ProgressBar and Profiler for Webpack 3 and 4

Created: 2018-03-24 12:11:46.0

Updated: 2018-04-02 22:25:27.0

Pushed: 2018-04-01 19:17:31.0

Homepage:

Size: 1008

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

npm deps test test-windows coverage

Elegant ProgressBar and Profiler for Webpack

? Display elegant progress bar while building or watch

? Support of multiply concurrent builds (useful for SSR)

? Pretty print filename and loaders

? Windows compatible

? Customizable

? Advanced build profiler


Multi progress bars



Build Profiler


Getting Started

To begin, you'll need to install webpackbar:

Using npm:

install webpackbar

Using yarn:

 add webpackbar

Then add the reporter as a plugin to your webpack config.

webpack.config.js

t webpack = require('webpack');
t WebpackBar = require('webpackbar');

le.exports = {
ntext: path.resolve(__dirname),
vtool: 'source-map',
try: './entry.js',
tput: {
filename: './output.js',
path: path.resolve(__dirname)

ugins: [
new WebpackBar()


Options

name

Display name

color

Display color (can be HEX like #xxyyzz or a web color like green).

profile

Enable profiler.

stream

Output stream.

minimal

Hide progress bar and only show Compiling/Compiled messages.

compiledIn

Show Compiled in message after build.

done

A function that will be called when all builds are finished.

Maintainers


Pooya Parsa

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.