I was talking about removing the call to trace. I guess it really doesn’t matter if the trace statements are there and don’t do anything except for making the download size of the code a bit larger.
How does it work in Flash? I've just assumed the statements are removed completely. On May 5, 2016, at 9:07 AM, Alex Harui <aha...@adobe.com> wrote: > > > On 5/4/16, 10:49 PM, "Harbs" <harbs.li...@gmail.com> wrote: > >> Currently, trace statements are preserved and output to the console even >> in “release” builds of js. >> >> How hard would it be to have the compiler strip out trace statements when >> it does the minifying step? > > Do you just not want the output to go to the console or do you want the > actual call to trace and associated strings removed from the output? > > -Alex >