Answer the question
In order to leave comments, you need to log in
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 **/*.ts
it 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 questionAsk a Question
731 491 924 answers to any question