CHH/pipe

Support for index files in directories

Closed this issue · 1 comments

CHH commented
Support for index files in directories
CHH commented

Basic support is now in master, but it's currently only possible to require directories if the index file has the same extension as the file which is requiring.

So for example, if a directory widget is required in a file app.js then it looks for a file widget/index.js. So it's not possible to include directories including a index.coffee from an .js file.