The TypeScript compiler does not support the generation of minifies or obfuscated code. you will need to use another tool against the JavaScript output of the compiler.
我是 typescript-closure-compiler的作者。
基本上,它是一个工具,发出的文件是与谷歌闭包编译器兼容,这可能是最好的小型化/优化器/模糊处理器。
我还创建了一个 游乐场,它可以显示生成的输出。
您可以看一下使用此工具的 项目示例。
The minification process is done using gulp.