Juan Ignacio Dopazo (2014-06-24T18:16:58.000Z)
>
>
>On Tuesday, June 24, 2014 11:38 AM, Calvin Metcalf <calvin.metcalf at gmail.com> wrote:
>
>
>Say you wanted to add a hook which automatically added an export named filepath to a module is the path to the file
For this use case and other similar ones it'd be nice if the `metadata` property of load records would be exposed as part of the modules metadata in `this` or `Reflect.currentModule()`.

or add an import just for the side effects (say a shim or something)
We've been discussing conditional loading for shims and other similar stuff at https://github.com/systemjs/systemjs/issues/9.

Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140624/8e019b04/attachment.html>
domenic at domenicdenicola.com (2014-06-26T15:28:32.257Z)
>On Tuesday, June 24, 2014 11:38 AM, Calvin Metcalf <calvin.metcalf at gmail.com> wrote:
>
>
>Say you wanted to add a hook which automatically added an export named filepath to a module is the path to the file

For this use case and other similar ones it'd be nice if the `metadata` property of load records would be exposed as part of the modules metadata in `this` or `Reflect.currentModule()`.

or add an import just for the side effects (say a shim or something)
We've been discussing conditional loading for shims and other similar stuff at https://github.com/systemjs/systemjs/issues/9.