Is it possible to compile TypeScript code output as abbreviated? Or are we left to deal with this in a separate process? And does obfuscation affect the answer?
The TypeScript compiler does not support thumbnail generation or code obfuscation. you will need to use another tool to output the javascript compiler.
I am the author of typescript-closure-compiler .It is basically a tool that emits files that are compatible with the google closure compiler, which is probably the best minifier / optimizer / obfuscator.I also created a playground that can show you the generated output. You can see an example project that uses this tool.The minimization process is performed using gulp.
As pointed out by @joeriks and @jaysun, Web Essentials 2012 Extension can do this.
In the Options panel, go to Web sites> TypeScript and set the Minify generated JavaScript to true.
Update This functionality has been removed in version 3.0.
3.0 - August 24, 2013TypeScript support removed