{"action":"created","issue":{"url":"https://api.github.com/repos/google/incremental-dom/issues/24","labels_url":"https://api.github.com/repos/google/incremental-dom/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/google/incremental-dom/issues/24/comments","events_url":"https://api.github.com/repos/google/incremental-dom/issues/24/events","html_url":"https://github.com/google/incremental-dom/issues/24","id":94150089,"number":24,"title":"Better module bundling","user":{"login":"thejameskyle","id":952783,"avatar_url":"https://avatars.githubusercontent.com/u/952783?v=3","gravatar_id":"","url":"https://api.github.com/users/thejameskyle","html_url":"https://github.com/thejameskyle","followers_url":"https://api.github.com/users/thejameskyle/followers","following_url":"https://api.github.com/users/thejameskyle/following{/other_user}","gists_url":"https://api.github.com/users/thejameskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/thejameskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejameskyle/subscriptions","organizations_url":"https://api.github.com/users/thejameskyle/orgs","repos_url":"https://api.github.com/users/thejameskyle/repos","events_url":"https://api.github.com/users/thejameskyle/events{/privacy}","received_events_url":"https://api.github.com/users/thejameskyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-09T20:56:34Z","updated_at":"2015-07-10T06:25:37Z","closed_at":null,"body":"It's great that this library is so small, but a big portion of the dist file is actually related to browserify, stuff like this:\r\n\r\n```js\r\n}, {\r\n  \"./alignment\": 2,\r\n  \"./attributes\": 3,\r\n  \"./node_data\": 4,\r\n  \"./traversal\": 7,\r\n  \"./walker\": 10\r\n}],\r\n10: [function(t, e, n) {\r\n```\r\n\r\nThis is only necessary because of the `require` syntax. If you guys switch to ES2015 (ES6) modules you can use a tool like [esperanto](http://esperantojs.org/) to make your dist file significantly smaller.\r\n\r\nFor an example setup of this, check out [babel-library-boilerplate](https://github.com/babel/babel-library-boilerplate)\r\n\r\nI can make a PR with this if you'd like?"},"comment":{"url":"https://api.github.com/repos/google/incremental-dom/issues/comments/120247425","html_url":"https://github.com/google/incremental-dom/issues/24#issuecomment-120247425","issue_url":"https://api.github.com/repos/google/incremental-dom/issues/24","id":120247425,"user":{"login":"thejameskyle","id":952783,"avatar_url":"https://avatars.githubusercontent.com/u/952783?v=3","gravatar_id":"","url":"https://api.github.com/users/thejameskyle","html_url":"https://github.com/thejameskyle","followers_url":"https://api.github.com/users/thejameskyle/followers","following_url":"https://api.github.com/users/thejameskyle/following{/other_user}","gists_url":"https://api.github.com/users/thejameskyle/gists{/gist_id}","starred_url":"https://api.github.com/users/thejameskyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejameskyle/subscriptions","organizations_url":"https://api.github.com/users/thejameskyle/orgs","repos_url":"https://api.github.com/users/thejameskyle/repos","events_url":"https://api.github.com/users/thejameskyle/events{/privacy}","received_events_url":"https://api.github.com/users/thejameskyle/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T06:25:37Z","updated_at":"2015-07-10T06:25:37Z","body":"Working on a babel-plugin over here: https://github.com/thejameskyle/babel-plugin-incremental-dom\r\n(Warning: it's :hankey: right now)"}}