There is no reason to add CommonJS support in a separate package or tag,
because the proposed changes don't break any existing workflows. *These
changes are purely additive.*
Currently, require('angular'), require('angular-route'), etc. don't return
anything, and only produce side effects. Adding CommonJS support in the
manner we are (removing the main field from package.json and relying on the
resolution algorithm to default to index.js) just makes it so require()
does return something, in addition to the side effects currently in place.
Again, the proposed changes do not break any existing workflows.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.