【发布时间】:2013-06-19 02:18:03
【问题描述】:
有没有办法将单个 .ts 文件编译到不同的目录?
从手动编译命令到不同目录的唯一方法是通过--out命令,但它也会连接依赖文件,这是我不想要的:
--out FILE|DIRECTORY Concatenate and emit output to single file | Redirect output structure to the directory
有没有办法在不连接输入文件的情况下重定向输出?
【问题讨论】:
-
仅供参考,使用
--outFile将您的模块生成选择限制为仅“AMD”和“系统”,每个文档:typescriptlang.org/docs/handbook/compiler-options.html
标签: javascript typescript bundle tsc transpiler