Elegant ProgressBar and Profiler for Webpack 3 , 4 and 5
MIT License
Bot releases are hidden (Show)
Published by pi0 10 months ago
profile
reporter when profile
option enabled (#94)We are really excited to see notable projects including Next.js, Razzle and Vuepress are using Webpackbar 😍 Until now, Webpackbar was mostly a fancy wrapper over Webpack ProgressPlugin
. With V3 a major rewrite decoupled all display stuff into Reporters. Built-in supported ones are basic
, fancy
, profile
and stats
. But nothing stops you from adding your own. We also carefully studied and inspected Webpack's behavior to make everything faster and more stable.
new Webpackbar({
reporter: {
allDone() { /* clear screen */ }
}
})
stream
option no longer supported. process.stderr
is being used.
minimal
option deprecated in favor of reporter options. By default env will be detected and basic fallback will be used for CI and Tests.
compiledIn
option deprecated. Both Fancy and Basic show it in a better way.
done
callback is deprecated. You can use reporter.allDone
hook.