Import wildcards on the right side of the statement
Francisco Méndez Vilas
fmvilas at gmail.com
Fri Apr 22 13:20:52 UTC 2016
Thank you very much for your feedback. I will definitely go for the loader
El jue., 21 abr. 2016 a las 18:22, Caridy Patiño (<caridy at gmail.com>)
> 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
> On Apr 21, 2016, at 5:36 AM, Francisco Méndez Vilas <fmvilas at gmail.com>
> import * from 'shared/features/**/reducers';
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss