{"action":"created","issue":{"url":"https://api.github.com/repos/postcss/postcss/issues/629","labels_url":"https://api.github.com/repos/postcss/postcss/issues/629/labels{/name}","comments_url":"https://api.github.com/repos/postcss/postcss/issues/629/comments","events_url":"https://api.github.com/repos/postcss/postcss/issues/629/events","html_url":"https://github.com/postcss/postcss/pull/629","id":115326442,"number":629,"title":"Use Rollup to build postcss","user":{"login":"Victorystick","id":703602,"avatar_url":"https://avatars.githubusercontent.com/u/703602?v=3","gravatar_id":"","url":"https://api.github.com/users/Victorystick","html_url":"https://github.com/Victorystick","followers_url":"https://api.github.com/users/Victorystick/followers","following_url":"https://api.github.com/users/Victorystick/following{/other_user}","gists_url":"https://api.github.com/users/Victorystick/gists{/gist_id}","starred_url":"https://api.github.com/users/Victorystick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victorystick/subscriptions","organizations_url":"https://api.github.com/users/Victorystick/orgs","repos_url":"https://api.github.com/users/Victorystick/repos","events_url":"https://api.github.com/users/Victorystick/events{/privacy}","received_events_url":"https://api.github.com/users/Victorystick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-05T16:51:46Z","updated_at":"2015-11-05T17:38:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/postcss/postcss/pulls/629","html_url":"https://github.com/postcss/postcss/pull/629","diff_url":"https://github.com/postcss/postcss/pull/629.diff","patch_url":"https://github.com/postcss/postcss/pull/629.patch"},"body":"Have you considered using [Rollup](https://github.com/rollup/rollup)?\r\n\r\n`postcss` would be bundled into a single file (`build/lib/postcss.js`) removing the duplicated `babel-helpers` and the `require` calls needed to load each individual CommonJS module. The ES module semantics are preserved, while optimising file size and efficiency compared to regular CommonJS modules.\r\n\r\nThe size of all files in `build/lib` is reduced from 164 kB  when compiled individually to (100 kB) using rollup."},"comment":{"url":"https://api.github.com/repos/postcss/postcss/issues/comments/154133198","html_url":"https://github.com/postcss/postcss/pull/629#issuecomment-154133198","issue_url":"https://api.github.com/repos/postcss/postcss/issues/629","id":154133198,"user":{"login":"Victorystick","id":703602,"avatar_url":"https://avatars.githubusercontent.com/u/703602?v=3","gravatar_id":"","url":"https://api.github.com/users/Victorystick","html_url":"https://github.com/Victorystick","followers_url":"https://api.github.com/users/Victorystick/followers","following_url":"https://api.github.com/users/Victorystick/following{/other_user}","gists_url":"https://api.github.com/users/Victorystick/gists{/gist_id}","starred_url":"https://api.github.com/users/Victorystick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Victorystick/subscriptions","organizations_url":"https://api.github.com/users/Victorystick/orgs","repos_url":"https://api.github.com/users/Victorystick/repos","events_url":"https://api.github.com/users/Victorystick/events{/privacy}","received_events_url":"https://api.github.com/users/Victorystick/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T17:38:26Z","updated_at":"2015-11-05T17:38:26Z","body":"I see. I wasn't aware of that. Feel free to close this then.\r\n\r\nThis wouldn't have been an issue if `postcss` were to include named exports for those components so that\r\n\r\n```js\r\nimport { Parser } from 'postcss';\r\n```\r\nwere possible. But CommonJS makes this difficult."}}