I realize that I can compile my application with tsc my_app.ts --target system
and it will generate a SystemJS-wrapped file for each imported module, which is awesome, but it generates anonymous (nameless) functions, so I can't just concatenate them to a single file.
I thought about making this question "how to compile TypeScript to named SystemJS modules", but my goal is just to compile my Angular2 app to a single file, SystemJS or not.
--out
/--outFile
option does not work with the--module
option (eg. if you have imports) github.com/Microsoft/TypeScript/issues/1544 – Gray Fox