A config.json file with the following contents is added to the project:
Should result in alloy looking for templates in the root directory of the system.
An error is thrown of "Arguments to path.join must be strings" in the alloy compile due to the rest of the dir paths not being set in the config.json file. allow uses _.defaults and this does a "shallow" style clone rather then deep.
lo-dash has a fix for this already (well... provided a workaround, the community has made modules from this workaround) ... sadly underscore has not yet fixed this as far as I can tell. Creating a workaround for underscore should not be difficult though
Example use case:
Wanting to override the alloy templates for a project, and so wanting to change the template directory for the project to a custom one