This content originally appeared on Krasimir Tsonev - blog and was authored by Krasimir Tsonev - blog
I'm working on a small library that has a logger. I'm bundling the app to a single file and I want to disable the logger for the production version. In this blog post we will see how I removed the logger.log
calls from my bundle using AST (abstract syntax tree).
This content originally appeared on Krasimir Tsonev - blog and was authored by Krasimir Tsonev - blog
Krasimir Tsonev - blog | Sciencx (2021-02-07T21:52:55+00:00) AST fun. Remove a function call from your bundle. Retrieved from https://www.scien.cx/2021/02/07/ast-fun-remove-a-function-call-from-your-bundle/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.