ender-js/Ender — pull request #126 by vic (2012-03-09 05:44:13+00:00)
Title: Add a --lib option to include .js files from a package lib directory.

Most of ender users would expect that using Ender's require would work
just like node's require. Moreover many packages distributed with npm
have a lib directory and a main javascript file that just requires
code from the lib directory.

Previous to this commit, `ender build` only included the package's
main file, and if this main file tried to require a file from its
lib directory, doing so would fail.

This patch adds a --lib option to the `build` and `add` commands to
tell ender to include the .js files from the directory defined on
a module's package.json file.

The client-side code for allowing relative requires is implemented at
ender-js/ender-js#13