Monday, 20 May 2013

Combine multiple typescript files into one typescript file

Combine multiple typescript files into one typescript file

I need this for distributing libraries in TypeScript in a single file. Distributing in a single js file is easy with the --out flag. But that removes all the static information and I want the end user to be able to use TypeScript without the burden of bringing in my entire folder structure into their project.
Is there a way to do this other than manual concatenation? I want the compiler to figure out the dependency ordering for me.

No comments:

Post a Comment