Current module path

Maël Nison nison.mael at
Thu Jun 5 13:28:04 PDT 2014


Will ES6 have a way to know what is the current module path from inside a
module ?

Such a thing could be useful to locate relative resources, just like node's
__dirname global.

Maël Nison (arcanis <>)
Frontend Developer @ Sketchfab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list