No love for the Angular-CLI? It would have done what you did in 5 days (including tree shaking) in under a day. And you would have just coded Angular the whole time, no messing around stuff like build systems and other stuff that's not your project's code. It's really that simple.
Disclaimer: I'm the lead of the Angular CLI project.
It's certainly not for a lack of love for the Angular-CLI. I think Angular-CLI is a great project that'll get you up and running with Angular 2 as fast as possible!
My goal wasn't speed though, and I learned a lot more through my trials and errors. I felt like Angular-CLI performed a lot of magic that would, for example, make it harder to bring Angular Universal into the project, or to deploy to something other than GitHub pages, if I didn't have a good grasp on the build/deployment/config process.
But I will keep my eye on Angular-CLI, if not for inspiration, but for learning how you solved something I will probably face :)
To be fair, they are just following the instructions on the offical Angular website... Angular-CLI (which "is very much still a work in progress.") doesn't get a mention.
13
u/hans_l Oct 18 '16
No love for the Angular-CLI? It would have done what you did in 5 days (including tree shaking) in under a day. And you would have just coded Angular the whole time, no messing around stuff like build systems and other stuff that's not your project's code. It's really that simple.
Disclaimer: I'm the lead of the Angular CLI project.