{"action":"created","issue":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/864","labels_url":"https://api.github.com/repos/lhorie/mithril.js/issues/864/labels{/name}","comments_url":"https://api.github.com/repos/lhorie/mithril.js/issues/864/comments","events_url":"https://api.github.com/repos/lhorie/mithril.js/issues/864/events","html_url":"https://github.com/lhorie/mithril.js/issues/864","id":120026162,"number":864,"title":"Template compiler as Babel transform plugin?","user":{"login":"liamcurry","id":77758,"avatar_url":"https://avatars.githubusercontent.com/u/77758?v=3","gravatar_id":"","url":"https://api.github.com/users/liamcurry","html_url":"https://github.com/liamcurry","followers_url":"https://api.github.com/users/liamcurry/followers","following_url":"https://api.github.com/users/liamcurry/following{/other_user}","gists_url":"https://api.github.com/users/liamcurry/gists{/gist_id}","starred_url":"https://api.github.com/users/liamcurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liamcurry/subscriptions","organizations_url":"https://api.github.com/users/liamcurry/orgs","repos_url":"https://api.github.com/users/liamcurry/repos","events_url":"https://api.github.com/users/liamcurry/events{/privacy}","received_events_url":"https://api.github.com/users/liamcurry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-02T20:12:31Z","updated_at":"2015-12-03T03:16:28Z","closed_at":null,"body":"It would be nice to have the [template compiler](https://lhorie.github.io/mithril/optimizing-performance.html#compiling-templates) implemented as a [Babel plugin](https://babeljs.io/docs/plugins/), since most developers aren't going to be using SweetJS but Babel is becoming pretty ubiquitous.\r\n\r\n[Here's the source code for the stock Babel plugins for reference](https://github.com/babel/babel/tree/master/packages)"},"comment":{"url":"https://api.github.com/repos/lhorie/mithril.js/issues/comments/161504038","html_url":"https://github.com/lhorie/mithril.js/issues/864#issuecomment-161504038","issue_url":"https://api.github.com/repos/lhorie/mithril.js/issues/864","id":161504038,"user":{"login":"tivac","id":49545,"avatar_url":"https://avatars.githubusercontent.com/u/49545?v=3","gravatar_id":"","url":"https://api.github.com/users/tivac","html_url":"https://github.com/tivac","followers_url":"https://api.github.com/users/tivac/followers","following_url":"https://api.github.com/users/tivac/following{/other_user}","gists_url":"https://api.github.com/users/tivac/gists{/gist_id}","starred_url":"https://api.github.com/users/tivac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tivac/subscriptions","organizations_url":"https://api.github.com/users/tivac/orgs","repos_url":"https://api.github.com/users/tivac/repos","events_url":"https://api.github.com/users/tivac/events{/privacy}","received_events_url":"https://api.github.com/users/tivac/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T03:16:28Z","updated_at":"2015-12-03T03:16:28Z","body":"I'll try to send a PR tonight."}}