{"action":"created","issue":{"url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/14","labels_url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/14/comments","events_url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/14/events","html_url":"https://github.com/nuzzio/grunt-strip-code/issues/14","id":122365990,"number":14,"title":"How to strip code only from production files?","user":{"login":"dKab","id":6264291,"avatar_url":"https://avatars.githubusercontent.com/u/6264291?v=3","gravatar_id":"","url":"https://api.github.com/users/dKab","html_url":"https://github.com/dKab","followers_url":"https://api.github.com/users/dKab/followers","following_url":"https://api.github.com/users/dKab/following{/other_user}","gists_url":"https://api.github.com/users/dKab/gists{/gist_id}","starred_url":"https://api.github.com/users/dKab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dKab/subscriptions","organizations_url":"https://api.github.com/users/dKab/orgs","repos_url":"https://api.github.com/users/dKab/repos","events_url":"https://api.github.com/users/dKab/events{/privacy}","received_events_url":"https://api.github.com/users/dKab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-15T21:05:16Z","updated_at":"2015-12-18T13:35:27Z","closed_at":null,"body":"I need test code to be stripped only from production files but remain in my source files. I could do concatenation to generate one file and then use the plugin to strip test code from it. But I use requirejs and I can't think of any way to achieve that. I need my sources  to be already stripped from test code, because if run r.js first - it will delete all comments and I won't be able to use grunt-stip-code.\r\nIf I run grunt-strip-code first - I end up with my sources being stripped from test code and that's not what I want. Any ideas on how to achieve desired effect in this situation?"},"comment":{"url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/comments/165780027","html_url":"https://github.com/nuzzio/grunt-strip-code/issues/14#issuecomment-165780027","issue_url":"https://api.github.com/repos/nuzzio/grunt-strip-code/issues/14","id":165780027,"user":{"login":"andrewGarson","id":252037,"avatar_url":"https://avatars.githubusercontent.com/u/252037?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewGarson","html_url":"https://github.com/andrewGarson","followers_url":"https://api.github.com/users/andrewGarson/followers","following_url":"https://api.github.com/users/andrewGarson/following{/other_user}","gists_url":"https://api.github.com/users/andrewGarson/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewGarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewGarson/subscriptions","organizations_url":"https://api.github.com/users/andrewGarson/orgs","repos_url":"https://api.github.com/users/andrewGarson/repos","events_url":"https://api.github.com/users/andrewGarson/events{/privacy}","received_events_url":"https://api.github.com/users/andrewGarson/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T13:35:27Z","updated_at":"2015-12-18T13:35:27Z","body":"r.js allows you to preserve certain comments for preserving licenses. I think you need to format\r\n/*! some comment here */\r\n\r\nhttps://github.com/jrburke/r.js/issues/41"}}