In the process of updating the build system for my Angular 1.5.8 application to support Typescript development, I encountered some challenges.
After a complex experience with Grunt, I simplified the build process to only use Gulp and Browserify to generate two bundles: my-lib.js
and my-app.js
. This setup allows the library and application code to compile efficiently without unnecessary delays. The team and I are satisfied with the current setup.
As we prepare to transition to Angular 2.0 and embrace Typescript development, I am unsure about the best approach to integrate it into our build process. Should I rely on tsc
solely for compiling Typescript to Javascript and let Browserify handle dependencies, or should I make tsc
the primary build tool to manage dependencies, create mapping files, and produce bundles?
Given the rapid evolution of Typescript and Gulp, I have struggled to find relevant documentation for this specific use case. Any insights from experienced individuals familiar with the latest versions of these tools would be greatly appreciated.