require-grunt-configs 0.5.0

Function as configuration


This update is super-tiny from the perspective of lines-of-code (LOC); however, it completely changes how you might approach writing complex configurations. That being said, require-grunt-configs is still ridiculously tiny at less than 30 LOC.

Function as configuration

The 0.5.0 update allows you to also write configuration modules as a function. The function receives a reference to the grunt object and returns a configuration object. This provides for more intention revealing configuration.

Function as configuration

Get it

If you are not yet using require-grunt-configs or you are using an older version, now is a great time to install or upgrade:

% npm install require-grunt-configs@0.5.0 --save-dev