{"action":"closed","issue":{"url":"https://api.github.com/repos/jsoverson/grunt-preprocess/issues/47","labels_url":"https://api.github.com/repos/jsoverson/grunt-preprocess/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/jsoverson/grunt-preprocess/issues/47/comments","events_url":"https://api.github.com/repos/jsoverson/grunt-preprocess/issues/47/events","html_url":"https://github.com/jsoverson/grunt-preprocess/issues/47","id":92868051,"number":47,"title":"Are prod:dev subkeys supported?","user":{"login":"pconnell99","id":11887266,"avatar_url":"https://avatars.githubusercontent.com/u/11887266?v=3","gravatar_id":"","url":"https://api.github.com/users/pconnell99","html_url":"https://github.com/pconnell99","followers_url":"https://api.github.com/users/pconnell99/followers","following_url":"https://api.github.com/users/pconnell99/following{/other_user}","gists_url":"https://api.github.com/users/pconnell99/gists{/gist_id}","starred_url":"https://api.github.com/users/pconnell99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pconnell99/subscriptions","organizations_url":"https://api.github.com/users/pconnell99/orgs","repos_url":"https://api.github.com/users/pconnell99/repos","events_url":"https://api.github.com/users/pconnell99/events{/privacy}","received_events_url":"https://api.github.com/users/pconnell99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-03T12:42:44Z","updated_at":"2015-07-03T14:26:53Z","closed_at":"2015-07-03T14:26:53Z","body":"I'm used to running a grunt task subdivided into prod and dev subkeys, but I'm trying it with preprocess and it is not working (well it is, it's finding the correct options key and using the prod or dev keys, but it is not finding the files in the html key).\r\n\r\nAny ideas?\r\n\r\n    preprocess: {\r\n\t\t\tprod: {\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tcontext: {\r\n\t\t\t\t\t\tBUILDTYPE: 'production',\r\n\t\t\t\t\t\tBUILDVERSION: '<%= pkg.clientversion %>',\r\n\t\t\t\t\t\tBUILDDATE: '<%= grunt.template.today(\"yyyymmdd HH:MM:ss\") %>'\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\thtml: {\r\n\t\t\t\t\tsrc: '<%= pkg.srcDir %>/index.html',\r\n\t\t\t\t\tdest: '<%= pkg.dstDir %>/index.html'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdev: {\r\n\t\t\t\toptions: {\r\n\t\t\t\t\tcontext: {\r\n\t\t\t\t\t\tBUILDTYPE: 'development',\r\n\t\t\t\t\t\tBUILDVERSION: 'Development-build',\r\n\t\t\t\t\t\tBUILDDATE: '<%= grunt.template.today(\"yyyymmdd HH:MM:ss\") %>'\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\thtml: {\r\n\t\t\t\t\tsrc: '<%= pkg.srcDir %>/index.html',\r\n\t\t\t\t\tdest: '<%= pkg.dstDir %>/index.html'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t},"}}