alloc / alloc/saus

Replace `debug` package

Aperta
#87 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.