K
K
Konstantin Kitmanov2015-10-09 14:32:27
JavaScript
Konstantin Kitmanov, 2015-10-09 14:32:27

How do you build TypeScript by dependency graph?

If, for example, you build an application using browserify, then it is enough to specify the entry point, only those files that were explicitly requested via require will be added to the final bundle. Same with RequireJS and when transpiling via Babel. How to achieve the same for TypeScript? Doing typescript --out bundle.js **/*.tsit is not an option, there can be several applications in the folder (several entry points), keeping a separate list of the necessary files in the right order is the last century.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question