# esprima
-
JavaScript _ 2020-01-13
AST fun. Remove a function call from your bundle
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.logcalls from my bundle using AST (abstract syntax tree).