UPDATE: The minification is now part of the standard build process for TypeScript and JavaScript.
Check out the following post for a simple integration of uglify:
Furthermore I would recommend to exclude the source maps from the .apk file by further modifying the code like this (check out the full code in the other post):
// ...
buildBrowserify({ browserifyOptions: { debug: !isRelease } }).on('end', function(){
minifyScripts('www/build/js', done);
});
// ...
Note that this is a temporary workaround, AFAIK the built-in minification is on the way and I guess that it will be released pretty soon.