Import wildcards on the right side of the statement
caridy at gmail.com
Thu Apr 21 16:22:44 UTC 2016
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 gmail.com> wrote:
> import * from 'shared/features/**/reducers';
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss