I'm currently exploring TypeScript and I was wondering why not compile the whole app to a single JS file instead of compiling every .ts file to it's corresponding .js.
Example for such an app is TypeDoc, which basically compiles to a single bin/typedoc.js file.
The common concept is to compile each .ts file in a .js file with --module commonjs as an argument to the typescript compiler.
Is there something that I need to worry about if I build a scalable ( big ) web application which compiles to a single file ?