{"action":"opened","issue":{"url":"https://api.github.com/repos/shama/grunt-ejs/issues/8","labels_url":"https://api.github.com/repos/shama/grunt-ejs/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/shama/grunt-ejs/issues/8/comments","events_url":"https://api.github.com/repos/shama/grunt-ejs/issues/8/events","html_url":"https://github.com/shama/grunt-ejs/issues/8","id":74112401,"number":8,"title":"Using `compile` instead of `render`, stand alone functions and CommonJS exports","user":{"login":"godspeedelbow","id":1466424,"avatar_url":"https://avatars.githubusercontent.com/u/1466424?v=3","gravatar_id":"","url":"https://api.github.com/users/godspeedelbow","html_url":"https://github.com/godspeedelbow","followers_url":"https://api.github.com/users/godspeedelbow/followers","following_url":"https://api.github.com/users/godspeedelbow/following{/other_user}","gists_url":"https://api.github.com/users/godspeedelbow/gists{/gist_id}","starred_url":"https://api.github.com/users/godspeedelbow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godspeedelbow/subscriptions","organizations_url":"https://api.github.com/users/godspeedelbow/orgs","repos_url":"https://api.github.com/users/godspeedelbow/repos","events_url":"https://api.github.com/users/godspeedelbow/events{/privacy}","received_events_url":"https://api.github.com/users/godspeedelbow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T20:14:50Z","updated_at":"2015-05-07T20:14:50Z","closed_at":null,"body":"Hi, \r\n\r\nI'm pretty new to building EJS templates but I need it in order to move from `requirejs` to `browserify`. I found your module and had to [fork and update it](https://github.com/godspeedelbow/grunt-ejs/commit/7778c1784e4cf16d91a11e7917c9d7119e5e88eb) to get it to work. \r\n\r\nDon't know if what I'm doing makes sense, although I'm pretty sure I cannot just replace `render` with `compile`. Maybe there's another way of doing it, and by it I mean:\r\n- not getting errors about undefined variables when you compile a ejs template\r\n- get commonJS exports\r\n\r\nAny ideas? Thanks!\r\nEelke\r\n"}}