incuna / angular-input-fields

Angular library for common input fields
MIT License
2 stars 0 forks source link

Make multiple distributions to allow loading of individual modules #17

Open henrahmagix opened 8 years ago

henrahmagix commented 8 years ago

where is each module available in this, apart from angular-input-fields.

grahamgilchrist commented 8 years ago

Bearing in mind you only need to specify the individual angular modules you wish to import in your project, this is saving 0-8KB of download time (and the overhead of registering the modules, which should be low).

Do we think that is a worthwhile saving for the extra effort involved to generate and maintain these?

henrahmagix commented 8 years ago

Considering we allow individual modules to be used as dependencies, surely we should allow them to be loaded as individual files regardless of the savings they make? Doing so and testing each distribution will also allow us to more easily detect interdependency bugs that mean modules cannot be used individually.

henrahmagix commented 8 years ago

And it won't be that much effort, just some extra concat and uglify targets =)