webpackbar

Elegant ProgressBar and Profiler for Webpack 3 , 4 and 5

MIT License

Downloads
4.2M
Stars
2.1K
Committers
19

Bot releases are visible (Hide)

webpackbar - v6.0.1 Latest Release

Published by pi0 8 months ago

compare changes

🩹 Fixes

  • Node 14 compatibility (#138)

❤️ Contributors

webpackbar - v6.0.0

Published by pi0 10 months ago

compare changes

🩹 Fixes

  • Automatically add profile reporter when profile option enabled (#94)

💅 Refactors

  • Repository updated (e7d217c)
  • deps: ⚠️ Upgrade consola to v3 and minimum node version ([#128])

📦 Build

  • Add types export conditions (#108)
  • Downgrade cjs-incompatible dependencies (e24d1cd)

❤️ Contributors

webpackbar -

Published by pi0 almost 6 years ago

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 Features

  • Custom Reporters Support
  • Automatically pause Consola logs during build to prevent glitches
  • Stats reporter
  • Watch hook

Enhancenments

  • Call progress hook on 100%
  • Cleanup all webpack references after build to prevent any memory leak
  • Rewrite log-update for more stability and performance.
  • Handle compile errors for styling
  • Siginificant stability improvements
  • Cleaner source-code

Breaking changes

  • Webpackbar no longer clears screen. If you need to preserve old behaviour, use reporter option:
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.