Login Register

trim

Custom Dojo Build question

We know that ShrinkSafe can remove comments from code. During development I use a lot of
console.debug statements in place of alert() statements.

I noticed, however, that the dojo build script does not strip the code of
"console.debug" or any console statements for that matter.

Since I have a lot of these, I'm sure I can make my build even more compact if I have them removed.
Is there a way I can do that? Maybe I'm missing a flag that I need to pass to the build.sh script?

Thank you.

Syndicate content