{"action":"closed","issue":{"url":"https://api.github.com/repos/donejs/done-component/issues/1","labels_url":"https://api.github.com/repos/donejs/done-component/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/donejs/done-component/issues/1/comments","events_url":"https://api.github.com/repos/donejs/done-component/issues/1/events","html_url":"https://github.com/donejs/done-component/issues/1","id":96903842,"number":1,"title":"<style> tag does not work with server side rendering","user":{"login":"daffl","id":338316,"avatar_url":"https://avatars.githubusercontent.com/u/338316?v=3","gravatar_id":"","url":"https://api.github.com/users/daffl","html_url":"https://github.com/daffl","followers_url":"https://api.github.com/users/daffl/followers","following_url":"https://api.github.com/users/daffl/following{/other_user}","gists_url":"https://api.github.com/users/daffl/gists{/gist_id}","starred_url":"https://api.github.com/users/daffl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daffl/subscriptions","organizations_url":"https://api.github.com/users/daffl/orgs","repos_url":"https://api.github.com/users/daffl/repos","events_url":"https://api.github.com/users/daffl/events{/privacy}","received_events_url":"https://api.github.com/users/daffl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/donejs/done-component/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/donejs/done-component/milestones/1","html_url":"https://github.com/donejs/done-component/milestones/1.0.0","labels_url":"https://api.github.com/repos/donejs/done-component/milestones/1/labels","id":1275277,"number":1,"title":"1.0.0","description":"","creator":{"login":"matthewp","id":361671,"avatar_url":"https://avatars.githubusercontent.com/u/361671?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewp","html_url":"https://github.com/matthewp","followers_url":"https://api.github.com/users/matthewp/followers","following_url":"https://api.github.com/users/matthewp/following{/other_user}","gists_url":"https://api.github.com/users/matthewp/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewp/subscriptions","organizations_url":"https://api.github.com/users/matthewp/orgs","repos_url":"https://api.github.com/users/matthewp/repos","events_url":"https://api.github.com/users/matthewp/events{/privacy}","received_events_url":"https://api.github.com/users/matthewp/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":1,"state":"open","created_at":"2015-08-27T03:13:05Z","updated_at":"2015-09-01T01:28:05Z","due_on":"2015-08-28T04:00:00Z","closed_at":null},"comments":4,"created_at":"2015-07-23T20:56:41Z","updated_at":"2015-09-01T01:28:05Z","closed_at":"2015-09-01T01:28:05Z","body":"Server side rendering does not work with `.component` files that have a `<style>` tag. A component like:\r\n\r\n```html\r\n<can-component tag=\"pmo-home\">\r\n  <style>\r\n    p { font-weight: bold; }\r\n  </style>\r\n  <template>\r\n    <h2>{{message}}</h2>\r\n  </template>\r\n</can-component>\r\n```\r\n\r\nFails with\r\n\r\n```\r\nCannot set property 'src/home.component/style.css' of undefined\r\n    at assetRegister (file:donejs/place-my-order/node_modules/can-ssr/lib/extension.js:56:21)\r\n    at load.metadata.execute (file:donejs/place-my-order/node_modules/done-css/css.js:100:5)\r\n    at linkDynamicModule (donejs/place-my-order/node_modules/steal/node_modules/systemjs/dist/system.src.js:668:32)\r\n    at link (donejs/place-my-order/node_modules/steal/node_modules/systemjs/dist/system.src.js:528:11)\r\n    at Object.execute (donejs/place-my-order/node_modules/steal/node_modules/systemjs/dist/system.src.js:847:11)\r\n    at doDynamicExecute (donejs/place-my-order/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1949:25)\r\n    at link (donejs/place-my-order/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1997:24)\r\n    at doLink (donejs/place-my-order/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1771:7)\r\n    at updateLinkSetOnLoad (donejs/place-my-order/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1819:18)\r\n    at donejs/place-my-order/node_modules/steal/node_modules/systemjs/node_modules/es6-module-loader/dist/es6-module-loader.src.js:1640:11\r\n```\r\n\r\nIt does work client-side."}}