alloc / alloc/saus

Replace `debug` package

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The `debug` package is 10.7kB (too big!)

We can reduce its size impact by 88+% if we copy [`@wbe/debug`](https://github.com/willybrauner/debug) into Saus core and tweak it slightly to avoid the runtime `isBrowser` check and add `.enabled` property.

Then we can expose the `debug` function through the `saus/utils` and `saus/client` packages.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.