developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.07k stars 363 forks source link

how to set "drop console.log" in code ? #1038

Closed tonyload closed 1 year ago

tonyload commented 1 year ago

how to set "drop console.log" in code ?

rschristian commented 1 year ago

Do you mean for Microbundle to remove all console.log() statements from your built code?

If so, that's not something we support.

tonyload commented 1 year ago

Why not consider to add this feature…

发自我的iPad

在 2023年4月18日,04:05,Ryan Christian @.***> 写道:

 Closed #1038 as not planned.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

rschristian commented 1 year ago

Because I don't think it's particularly compelling. If you want to remove console.log() statements, you can remove or comment them out yourself.

tonyload commented 1 year ago

ok ~got it thanks for response

2023年4月25日 上午7:16,Ryan Christian @.***> 写道:

Because I don't think it's particularly compelling. If you want to remove console.log() statements, you can remove or comment them out yourself.

— Reply to this email directly, view it on GitHub https://github.com/developit/microbundle/issues/1038#issuecomment-1520941577, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMVGQ4O5TBT5EXN5J4TMZPLXC4CTJANCNFSM6AAAAAAW4WXJVY. You are receiving this because you authored the thread.