{"action":"created","issue":{"url":"https://api.github.com/repos/dart-lang/pub/issues/576","labels_url":"https://api.github.com/repos/dart-lang/pub/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/dart-lang/pub/issues/576/comments","events_url":"https://api.github.com/repos/dart-lang/pub/issues/576/events","html_url":"https://github.com/dart-lang/pub/issues/576","id":85643830,"number":576,"title":"pub deploy + Web component","user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dart-lang/pub/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/dart-lang/pub/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-05T22:09:07Z","updated_at":"2015-06-05T22:09:08Z","closed_at":null,"body":"<a href=\"https://github.com/esnellman\"><img src=\"https://avatars.githubusercontent.com/u/2792550?v=3\" align=\"left\" width=\"96\" height=\"96\"hspace=\"10\"></img></a> **Issue by [esnellman](https://github.com/esnellman)**\n_Originally opened as dart-lang/sdk#11149_\n\n----\n\n**What steps will reproduce the problem?**\n1. Create new Web UI project in dart editor\n2. &quot;pub deploy&quot; the new project \n3. The deploy output is not functional\n\n**What is the expected output? What do you see instead?**\nA button that I can press that increments a counter. I see nothing.\n\n**What version of the product are you using? On what operating system?**\n\n\n**Please provide any additional information below.**\npub deploy works with Web UI in a very limited fashion.  My app is 1 html file, 1 dart file and I can use templates.  However it breaks when the top level html file imports a html file that then links to a web component.  \n\nI believe web components have to be in separate files thus I cannot move x-click-counter into the main dart file. Even If I could put it all in 1 file, it would be &quot;tree-shacked&quot;.  Even If I added in a dummy innovations to prevent tree shaking it would still break on renaming(Minification).  I am also unsure if minification renames fields and methods in the html file(s) in its current form."},"comment":{"url":"https://api.github.com/repos/dart-lang/pub/issues/comments/109455832","html_url":"https://github.com/dart-lang/pub/issues/576#issuecomment-109455832","issue_url":"https://api.github.com/repos/dart-lang/pub/issues/576","id":109455832,"user":{"login":"DartBot","id":8958862,"avatar_url":"https://avatars.githubusercontent.com/u/8958862?v=3","gravatar_id":"","url":"https://api.github.com/users/DartBot","html_url":"https://github.com/DartBot","followers_url":"https://api.github.com/users/DartBot/followers","following_url":"https://api.github.com/users/DartBot/following{/other_user}","gists_url":"https://api.github.com/users/DartBot/gists{/gist_id}","starred_url":"https://api.github.com/users/DartBot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DartBot/subscriptions","organizations_url":"https://api.github.com/users/DartBot/orgs","repos_url":"https://api.github.com/users/DartBot/repos","events_url":"https://api.github.com/users/DartBot/events{/privacy}","received_events_url":"https://api.github.com/users/DartBot/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T22:09:08Z","updated_at":"2015-06-05T22:09:08Z","body":"<a href=\"https://github.com/munificent\"><img src=\"https://avatars.githubusercontent.com/u/46275?v=3\" align=\"left\" width=\"48\" height=\"48\"hspace=\"10\"></img></a> **Comment by [munificent](https://github.com/munificent)**\n\n----\n\n*Added this to the [M8](../milestones/M8) milestone.*\n"}}