The Angular2 quickstart guide needs a typescript-1.x.x.js to be fetched but it's about 2.9MB. Even minified would still be too large. Is it best to gulp-typescript the typescript files into js files for deploying on the webserver?
2 Answers
You can either compile your application using the tsc command (provided by the typescript library) statically before reloading the HTML page) or on the fly within the browser using transpiling.
In the first case, you don't need to include the JS file of this library in your browser.
This question could give you more details: