{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/universal-starter/issues/207","repository_url":"https://api.github.com/repos/angular/universal-starter","labels_url":"https://api.github.com/repos/angular/universal-starter/issues/207/labels{/name}","comments_url":"https://api.github.com/repos/angular/universal-starter/issues/207/comments","events_url":"https://api.github.com/repos/angular/universal-starter/issues/207/events","html_url":"https://github.com/angular/universal-starter/issues/207","id":184731888,"number":207,"title":"Considering becoming an Angular CLI template or using @ngtools/webpack","user":{"login":"mikeumus","id":57934,"avatar_url":"https://avatars.githubusercontent.com/u/57934?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeumus","html_url":"https://github.com/mikeumus","followers_url":"https://api.github.com/users/mikeumus/followers","following_url":"https://api.github.com/users/mikeumus/following{/other_user}","gists_url":"https://api.github.com/users/mikeumus/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeumus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeumus/subscriptions","organizations_url":"https://api.github.com/users/mikeumus/orgs","repos_url":"https://api.github.com/users/mikeumus/repos","events_url":"https://api.github.com/users/mikeumus/events{/privacy}","received_events_url":"https://api.github.com/users/mikeumus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-24T01:38:19Z","updated_at":"2016-10-24T01:38:19Z","closed_at":null,"body":"With the Angular CLI becoming so powerful and central to workflow, it's a good time to consider if this starter makes sense to work as a Angular CLI template. See \"[App Creation Using Template](https://github.com/angular/angular-cli/wiki/Stories#app-creation-using-template)\" in the CLI wiki. Becoming a template would look something like this for a user to get started:\r\n\r\n`ng new my-todo-app --template=universal-starter`\r\n\r\nOr adopting [`@ngtools/webpack`](https://www.npmjs.com/~ngtools) to not miss out on any of the innovations happening on the CLI like \"code splitting\" (see below) and other optimizations. \r\n\r\nSee the benefits and ability of using `@ngtools/webpack` standalone from the Angular CLI as presented in [Stephen Fluin's Angular CLI talk](https://youtu.be/uBRK6cTr4Vk?t=6m45s) at Angular Connect 2016:\r\n\r\n- Compiles SCSS/LESS\r\n- TypeScript transpilation\r\n- Bundles JavaScript, CSS\r\n- Asset optimiation\r\n- Virtual filesystem for assets\r\n - For serving local assets and compile versions.\r\n- Live-reload via websockets\r\n- Code splitting\r\n  - Recognizing the use of loadChildren in the router, and bundling those modules separately so that any dependencies of those modules are not going to be loaded as part of your main bundle. These separate bundles will be pulled out of the critical path of your application, making your total application bundle much smaller and loading it much more performant."}}
{"actor":{"display_login":"mikeumus"}}