Closed jculvey closed 1 month ago
LGTM! I'm guessing that we'll need to squash this PR before/during merging. But I'm not quite sure what's the norm in this repo.
I'm guessing that we'll need to squash this PR before/during mergin
Across unjs repos, squash is default :)
Few suggestions:
const _console = globalThis.console
once in top to reduce bundle impact little bitinfo
, debug
, .. we can redirect them to console.log
in minimum runtimes rather than throwing errorgroupStart
. They won't be really needed but if a library uses them, it breaks runtime unnecessarily and they are only for formatting Thanks!
๐ Linked issue
โ Type of change
๐ Description
Adds a polyfill for the
node:console
module.๐ Checklist