{"action":"created","issue":{"url":"https://api.github.com/repos/webpack/webpack-cli/issues/137","repository_url":"https://api.github.com/repos/webpack/webpack-cli","labels_url":"https://api.github.com/repos/webpack/webpack-cli/issues/137/labels{/name}","comments_url":"https://api.github.com/repos/webpack/webpack-cli/issues/137/comments","events_url":"https://api.github.com/repos/webpack/webpack-cli/issues/137/events","html_url":"https://github.com/webpack/webpack-cli/issues/137","id":228394485,"number":137,"title":"Webpack PWA add-on/scaffold","user":{"login":"addyosmani","id":110953,"avatar_url":"https://avatars2.githubusercontent.com/u/110953?v=4","gravatar_id":"","url":"https://api.github.com/users/addyosmani","html_url":"https://github.com/addyosmani","followers_url":"https://api.github.com/users/addyosmani/followers","following_url":"https://api.github.com/users/addyosmani/following{/other_user}","gists_url":"https://api.github.com/users/addyosmani/gists{/gist_id}","starred_url":"https://api.github.com/users/addyosmani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addyosmani/subscriptions","organizations_url":"https://api.github.com/users/addyosmani/orgs","repos_url":"https://api.github.com/users/addyosmani/repos","events_url":"https://api.github.com/users/addyosmani/events{/privacy}","received_events_url":"https://api.github.com/users/addyosmani/received_events","type":"User","site_admin":false},"labels":[{"id":512474036,"url":"https://api.github.com/repos/webpack/webpack-cli/labels/CLI","name":"CLI","color":"006b75","default":false},{"id":512473777,"url":"https://api.github.com/repos/webpack/webpack-cli/labels/Documentation","name":"Documentation","color":"0052cc","default":false},{"id":512473646,"url":"https://api.github.com/repos/webpack/webpack-cli/labels/Feature","name":"Feature","color":"d4c5f9","default":false},{"id":523096292,"url":"https://api.github.com/repos/webpack/webpack-cli/labels/Good%20First%20Contribution","name":"Good First Contribution","color":"1d76db","default":false},{"id":501677914,"url":"https://api.github.com/repos/webpack/webpack-cli/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2017-05-12T20:05:03Z","updated_at":"2018-02-14T06:43:47Z","closed_at":null,"author_association":"COLLABORATOR","body":"As part of #101, we'd like to create a minimal, but useful, Webpack add-on for those getting started with Progressive Web Apps. This would build on the work that was done for the default `--init` starting point in https://github.com/webpack/webpack-cli/issues/119.\r\n\r\n* Handle favicons and Web App Manifest. Either via a static include of some defaults (just the files) that get wired up using HTML Webpack Plugin with another plugin like https://github.com/jantimon/favicons-webpack-plugin. Most people do this statically.\r\n* Add [offline caching support](https://www.npmjs.com/package/sw-precache-webpack-plugin) for static assets (CSS, JS) w/sw-precache. We could also do it for HTML - if someone is building an SPA this would get them closer to an AppShell model style level of caching. If not, it would do full-page caching.\r\n* Performance budgets by default?\r\n\r\n**Validation:** It should be possible to take a simple app, even something like a rando TodoMVC implementation, run it with webpack-cli and this add-on and be able to generate an offline-first PWA that an get a decent score on Lighthouse.\r\n\r\nI've also filed https://github.com/webpack/webpack.js.org/issues/1145 for us to think about guidance around this topic for the official Webpack docs."},"comment":{"url":"https://api.github.com/repos/webpack/webpack-cli/issues/comments/365511551","html_url":"https://github.com/webpack/webpack-cli/issues/137#issuecomment-365511551","issue_url":"https://api.github.com/repos/webpack/webpack-cli/issues/137","id":365511551,"user":{"login":"dhruvdutt","id":5961873,"avatar_url":"https://avatars0.githubusercontent.com/u/5961873?v=4","gravatar_id":"","url":"https://api.github.com/users/dhruvdutt","html_url":"https://github.com/dhruvdutt","followers_url":"https://api.github.com/users/dhruvdutt/followers","following_url":"https://api.github.com/users/dhruvdutt/following{/other_user}","gists_url":"https://api.github.com/users/dhruvdutt/gists{/gist_id}","starred_url":"https://api.github.com/users/dhruvdutt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhruvdutt/subscriptions","organizations_url":"https://api.github.com/users/dhruvdutt/orgs","repos_url":"https://api.github.com/users/dhruvdutt/repos","events_url":"https://api.github.com/users/dhruvdutt/events{/privacy}","received_events_url":"https://api.github.com/users/dhruvdutt/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T06:43:47Z","updated_at":"2018-02-14T06:43:47Z","author_association":"NONE","body":"@Symphoria @sendilkumarn Hey guys! :) I'm also looking to work on this. Maybe we all can do something in collaboration."}}
{"actor":{"display_login":"dhruvdutt"}}