Open henrahmagix opened 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?
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.
And it won't be that much effort, just some extra concat and uglify targets =)
dist/angular-input-fields.js
= all scripts concatenateddist/angular-input-fields.min.js
= all scripts concatenated and minifieddist/aif-<module>.js
= alldist/aif-<module>.min.js
= allwhere is each module available in this, apart from
angular-input-fields
.