Generating a single output file

In the original version of our drawing application, we only had six files to download to the client browser: a single CSS file, our app.js file, and the files containing our object types. Each file is a separate web request and all of the files must be loaded before our application can run.

Generating a single output file

This is a relatively speedy process, and on average takes less than 100 ms depending on network latency. However, in our quest to create a large-scale maintainable application, the number of code files we have has exploded. We now have more than 20 files that need to be loaded into the client browser before the application will ...

Get TypeScript Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.