我想将 Typescript 文件编译为多个目标,例如 ES5 和 ES6。我有以下示例目录:
ES5
ES6
测试文件
配置文件
因此,当我运行编译器时,我希望它将 test.ts 编译为 ES5 到 ES5 文件夹,将 ES6 编译为 ES6 文件夹。这有可能吗?
ecmascript-5 typescript ecmascript-6 tsconfig
ecmascript-5 ×1
ecmascript-6 ×1
tsconfig ×1
typescript ×1