{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/568","labels_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/568/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/568/comments","events_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/568/events","html_url":"https://github.com/PolymerElements/polymer-starter-kit/pull/568","id":120578029,"number":568,"title":"Move bower_components. Make vulcanize easier","user":{"login":"robdodson","id":1066253,"avatar_url":"https://avatars.githubusercontent.com/u/1066253?v=3","gravatar_id":"","url":"https://api.github.com/users/robdodson","html_url":"https://github.com/robdodson","followers_url":"https://api.github.com/users/robdodson/followers","following_url":"https://api.github.com/users/robdodson/following{/other_user}","gists_url":"https://api.github.com/users/robdodson/gists{/gist_id}","starred_url":"https://api.github.com/users/robdodson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robdodson/subscriptions","organizations_url":"https://api.github.com/users/robdodson/orgs","repos_url":"https://api.github.com/users/robdodson/repos","events_url":"https://api.github.com/users/robdodson/events{/privacy}","received_events_url":"https://api.github.com/users/robdodson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/labels/cla:%20yes","name":"cla: yes","color":"00ff00"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-05T18:29:59Z","updated_at":"2015-12-07T01:41:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/pulls/568","html_url":"https://github.com/PolymerElements/polymer-starter-kit/pull/568","diff_url":"https://github.com/PolymerElements/polymer-starter-kit/pull/568.diff","patch_url":"https://github.com/PolymerElements/polymer-starter-kit/pull/568.patch"},"body":"Fixes #562\r\nShould help #512\r\n\r\n- Move bower_components into app dir\r\n  - Because we mount the bower_components directory it makes vulcanizing totally insane (hence all the weird stuff where we copied over all of bower_components and vulcanized in the dist directory, instead of vulcanizing in app and writing the output to dist. Doing it this way also screws up tools like `web-component-shards` and Superstatic (as mentioned in #512). I realize it's [a Yeoman convention](http://yeoman.io/blog/bower_components-in-project-root.html) to have bower_components outside of app, but for Polymer projects that makes life very difficult.\r\n- Remove code to rename `elements.html` to `elements.vulcanized.html`. Instead, `dist/elements/elements.html` is just the vulcanized version of `app/elements/elements.html`\r\n- Tell `optimizeHtmlTask` to ignore `bower_components`\r\n- Tell `platinum-sw-register` where to find bootstrap dir with `base-uri` attribute"},"comment":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/comments/162386739","html_url":"https://github.com/PolymerElements/polymer-starter-kit/pull/568#issuecomment-162386739","issue_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/568","id":162386739,"user":{"login":"samccone","id":883126,"avatar_url":"https://avatars.githubusercontent.com/u/883126?v=3","gravatar_id":"","url":"https://api.github.com/users/samccone","html_url":"https://github.com/samccone","followers_url":"https://api.github.com/users/samccone/followers","following_url":"https://api.github.com/users/samccone/following{/other_user}","gists_url":"https://api.github.com/users/samccone/gists{/gist_id}","starred_url":"https://api.github.com/users/samccone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samccone/subscriptions","organizations_url":"https://api.github.com/users/samccone/orgs","repos_url":"https://api.github.com/users/samccone/repos","events_url":"https://api.github.com/users/samccone/events{/privacy}","received_events_url":"https://api.github.com/users/samccone/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T01:41:55Z","updated_at":"2015-12-07T01:41:55Z","body":"oh we will do that pass after, just follow suite for now ;)"}}