Import wildcards on the right side of the statement

Caridy Patiño caridy at
Thu Apr 21 16:22:44 UTC 2016

Hey Francisco

There is nothing in the spec that prevent you from doing `import * from 'shared/features/**/reducers';`, the module identifier is just a literal. What to do with it is not described by 262.

As for "from many", you can easily do that with a loader without having to introduce new grammar. The steps are simple, your loader will detect that module identifier (via hooks), as a result, it produces a new reflective module that is a composition of all the modules associated to the token in question.


> On Apr 21, 2016, at 5:36 AM, Francisco Méndez Vilas <fmvilas at> wrote:
> import * from 'shared/features/**/reducers';

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list