Unfortunately it's impossible to compile multiple *.ts
files into one *.js
without concatenation. Because it's impossible on API level of typescript compile options.
See --out
option:
DEPRECATED. Use --outFile instead.
Documentation of --outFile
option:
Concatenate and emit output to single file. The order of concatenation is determined by the list of files passed to the compiler on the command line along with triple-slash references and imports. See output file order documentation for more details.