Releases: unjs/webpackbar
v7.0.0
🚀 Enhancements
- Support rspack (#149)
🩹 Fixes
💅 Refactors
- Update repo (379d628)
- Uses
ansis
for color support (#145) - Use named export of
markdown-table
(c0be4d7)
📦 Build
- Inline esm-only dependencies (e58277f)
🏡 Chore
- Migrate to vitest (f8435c1)
❤️ Contributors
- Pooya Parsa (@pi0)
- 风中追风 (@hangaoke1)
- Sukka isukkaw@gmail.com
v6.0.1
v6.0.0
🩹 Fixes
- Automatically add
profile
reporter whenprofile
option enabled (#94)
💅 Refactors
📦 Build
❤️ Contributors
- Pooya Parsa (@pi0)
- Joshua Chen sidachen2003@gmail.com
- Rafał Chłodnicki (@rchl)
- Nozomu Ikuta nick.0508.nick@gmail.com
v3.0.0
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 usereporter.allDone
hook.