{"action":"created","issue":{"url":"https://api.github.com/repos/developit/preact-cli/issues/636","repository_url":"https://api.github.com/repos/developit/preact-cli","labels_url":"https://api.github.com/repos/developit/preact-cli/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/developit/preact-cli/issues/636/comments","events_url":"https://api.github.com/repos/developit/preact-cli/issues/636/events","html_url":"https://github.com/developit/preact-cli/issues/636","id":358149572,"node_id":"MDU6SXNzdWUzNTgxNDk1NzI=","number":636,"title":"Use `preact` and `preact-router` from source instead of dist","user":{"login":"prateekbh","id":5960497,"node_id":"MDQ6VXNlcjU5NjA0OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5960497?v=4","gravatar_id":"","url":"https://api.github.com/users/prateekbh","html_url":"https://github.com/prateekbh","followers_url":"https://api.github.com/users/prateekbh/followers","following_url":"https://api.github.com/users/prateekbh/following{/other_user}","gists_url":"https://api.github.com/users/prateekbh/gists{/gist_id}","starred_url":"https://api.github.com/users/prateekbh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prateekbh/subscriptions","organizations_url":"https://api.github.com/users/prateekbh/orgs","repos_url":"https://api.github.com/users/prateekbh/repos","events_url":"https://api.github.com/users/prateekbh/events{/privacy}","received_events_url":"https://api.github.com/users/prateekbh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/developit/preact-cli/milestones/7","html_url":"https://github.com/developit/preact-cli/milestone/7","labels_url":"https://api.github.com/repos/developit/preact-cli/milestones/7/labels","id":3586783,"node_id":"MDk6TWlsZXN0b25lMzU4Njc4Mw==","number":7,"title":"3.0","description":"Preact CLI 3.0 :) ","creator":{"login":"hassanbazzi","id":3339608,"node_id":"MDQ6VXNlcjMzMzk2MDg=","avatar_url":"https://avatars0.githubusercontent.com/u/3339608?v=4","gravatar_id":"","url":"https://api.github.com/users/hassanbazzi","html_url":"https://github.com/hassanbazzi","followers_url":"https://api.github.com/users/hassanbazzi/followers","following_url":"https://api.github.com/users/hassanbazzi/following{/other_user}","gists_url":"https://api.github.com/users/hassanbazzi/gists{/gist_id}","starred_url":"https://api.github.com/users/hassanbazzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hassanbazzi/subscriptions","organizations_url":"https://api.github.com/users/hassanbazzi/orgs","repos_url":"https://api.github.com/users/hassanbazzi/repos","events_url":"https://api.github.com/users/hassanbazzi/events{/privacy}","received_events_url":"https://api.github.com/users/hassanbazzi/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":2,"state":"open","created_at":"2018-08-21T11:14:14Z","updated_at":"2018-09-07T18:44:14Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-09-07T17:26:12Z","updated_at":"2018-09-07T18:52:30Z","closed_at":null,"author_association":"COLLABORATOR","body":"**Do you want to request a *feature* or report a *bug*?**\r\nBug\r\n\r\n**What is the current behaviour?**\r\nWe use `preact` and `preact-router` from their dist folder on npm\r\n\r\n**What is the expected behaviour?**\r\nSince we transpile `node_modules` ourselves we should be using `preact` and `preact_router` from their source. This will have no affect on the regular bundles but will have some saving on the module bundle generated.\r\n\r\n**If this is a feature request, what is motivation or use case for changing the behaviour?**\r\nWeb perf\r\n\r\n**Please mention other relevant information.**\r\n- Node version: any\r\n- npm version: any\r\n- Operating system: any\r\n- CLI version: next\r\n- Browser: any\r\n"},"comment":{"url":"https://api.github.com/repos/developit/preact-cli/issues/comments/419532765","html_url":"https://github.com/developit/preact-cli/issues/636#issuecomment-419532765","issue_url":"https://api.github.com/repos/developit/preact-cli/issues/636","id":419532765,"node_id":"MDEyOklzc3VlQ29tbWVudDQxOTUzMjc2NQ==","user":{"login":"kristoferbaxter","id":61764,"node_id":"MDQ6VXNlcjYxNzY0","avatar_url":"https://avatars1.githubusercontent.com/u/61764?v=4","gravatar_id":"","url":"https://api.github.com/users/kristoferbaxter","html_url":"https://github.com/kristoferbaxter","followers_url":"https://api.github.com/users/kristoferbaxter/followers","following_url":"https://api.github.com/users/kristoferbaxter/following{/other_user}","gists_url":"https://api.github.com/users/kristoferbaxter/gists{/gist_id}","starred_url":"https://api.github.com/users/kristoferbaxter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kristoferbaxter/subscriptions","organizations_url":"https://api.github.com/users/kristoferbaxter/orgs","repos_url":"https://api.github.com/users/kristoferbaxter/repos","events_url":"https://api.github.com/users/kristoferbaxter/events{/privacy}","received_events_url":"https://api.github.com/users/kristoferbaxter/received_events","type":"User","site_admin":false},"created_at":"2018-09-07T18:52:30Z","updated_at":"2018-09-07T18:52:30Z","author_association":"COLLABORATOR","body":"@developit We spoke about moving the optimizations to build size into `preact-cli` and applying these  across all source instead of just one off packages.\r\n\r\nPerhaps now is the time, or `3.1.0`."}}
{"actor":{"display_login":"kristoferbaxter"}}