I am trying to remove a list of functions using pure_funcs
in uglifyjs 2.4.13.
When my settings are as follows:
PIPELINE_UGLIFYJS_ARGUMENTS = "-c pure_funcs=['App.LOG.info']"
I get the following error:
return ([App.LOG.info])
^
ReferenceError: App is not defined
Turns out I just needed to add some back slashes so the quote wasn't parsed out: