bun build deletes "unused" code that is used by my HTML #10953
Unanswered
allquixotic
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have the same problem... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have functions that are event handlers set up in my HTML code for a client-side JS I'm trying to bundle with
bun build
. It deletes all of my unused code when it does whatever it does, and I haveminify
set tofalse
. That code is unused from the perspective of JS world, but it is absolutely used from the HTML side, and I need it. Why is it doing that and how do I stop it from doing it?Beta Was this translation helpful? Give feedback.
All reactions