-
Notifications
You must be signed in to change notification settings - Fork 213
Open
Description
Why
I need to generate and then read X.509 certificate in browser. I wrote a function which does this and compiled it with:
esbuild --tree-shaking=true --outfile=test-cert.js --format=esm --bundle --main-fields=module,main --minify --sourcemap src/test-cert.tsthe output bundle is 376.9kb
With tree shaking disabled, the output is 396.4kb
What
Change the library structure to enable better tree-shaking support.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels