When it comes to managing dependencies and resources in your projects, it's important to consider what best fits your needs. In my experience, relying on a self-hosted CDN may not be the most practical solution unless you have specific performance requirements that justify it.
Instead, utilizing tools like npm for dependency management and build tools like webpack for resource optimization can streamline your development process without unnecessary complexity. If you find yourself overwhelmed by boilerplate code, exploring options like Yeoman's generator-angular can provide helpful scaffolding for your project.
Ultimately, the goal is to strike a balance between performance optimization and maintainability. A self-hosted CDN may introduce additional support burdens with minimal benefits in the long run, as future maintenance or updates could require significant effort if dependencies need to be refactored. Consider your specific project needs before committing to a particular approach.