Skip to content

Conversation

@sxzz
Copy link
Contributor

@sxzz sxzz commented Nov 19, 2025

Vite side: vitejs/vite#21107
 
https://github.com/sxzz/obug is a newly developed project, forked from debug, the most popular npm library for debugging.

obug addresses several issues:

  • Zero dependencies, achieved by dropping support for legacy browsers and older Node.js versions
    • Optimized for modern environments
    • Supports ES2015+ browsers
    • Compatible with Node.js 18 and above
  • Pure ESM
  • Extremely small footprint
    • Unpacked size: 21 KB vs 42 KB (including dependencies)
    • Production bundle size for browsers: only 3.22 kB, gzip: 1.5kB.
  • Uses trusted publishing (although some consider this meaningless, this is simply to inform those who care about it; related discussions are outside the scope of this post)

See e18e/ecosystem-issues#217 for discussion

@dominikg
Copy link
Member

dominikg commented Dec 3, 2025

fyi, rebased this and added a changeset, going to release it shortly. error in rolldown-vite test is unrelated

@dominikg dominikg merged commit cba6ae8 into sveltejs:main Dec 3, 2025
7 of 8 checks passed
@github-actions github-actions bot mentioned this pull request Dec 3, 2025
@sxzz sxzz deleted the obug branch December 3, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants