外部jsonファイルを読み込んでカスタムタスクで使用しようとしています:
中身initConfig
grunt.initConfig({
env: grunt.file.readJSON("PATH"),
...
..
.
});
// Registering a task
grunt.registerTask('Namehere', 'DescriptionHere', function () {
// HOW DO I GET AT THE "env"
"<%= env.environment %>" // Doesnt work just gives me the string literal "<%= environmentVars.environment %>"
});