Hello,
I used to write "dev only" code in previous projects. In JavascriptMVC it is possible to wrap lines with comments like
//@DEV
code skipped in production
//@END-DEV
Which is quite handy for cleaning log infos or local configurations.
In HTML5Boilerplate, console.log statements are automatically skipped with the ant build task.
UglifyJs allow do define symbols (with --define) in order to do something approaching.
Is there a way to achieve this behavior at this moment ?
Or is there a way to hook the packaging method ?
Thanks.