werk85/grunt-ng-constant — pull request #26 by shaharke (2014-03-05 07:59:23+00:00)
Title: Support reading constants from file

Currently the only way you can read constants from file is by using the grunt.file.readJSON utility method. This is fine as long as you configuration file is static and doesn't change during the lifecycle of the Grunt build process. That's not the case for us: we use mustache templates to dynamically generate constants based on external input.

Also, it's much simpler to just specify the file name be agnostic to the way the file is read.