Is --drop intended to only work with builtins? --drop does not remove a function I created myself. #14960
Unanswered
fredrik-hjarner
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Regarding --drop paramater. Documentation:
I was experimenting with --drop trying to remove a "debug-only" function, but noticed that "custom" functions will not be removed.
Is --drop intended to work only with/for builtins?
index.ts:
cmd:
bun build index.ts --drop="console" --drop="test" --drop="Bun" --drop="window"
output:
Beta Was this translation helpful? Give feedback.
All reactions