Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Work out best module layout #5
Ideally, I'd like to keep this as a single project/package so that RingoJS code such as the following would work as is:
Unfortunately Node's approach to resolving modules and proposed removal of exports.paths.push() makes this difficult. The options are:
If you have any other suggestions, please leave them in the comments below.
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Decided to go with the following: