{"action":"created","issue":{"url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/28","labels_url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/28/comments","events_url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/28/events","html_url":"https://github.com/cmichaelgraham/aurelia-typescript/issues/28","id":77158602,"number":28,"title":"Problem with aurelia-require-bundle: no such file or directory sightglass.js","user":{"login":"pszybiak","id":12157631,"avatar_url":"https://avatars.githubusercontent.com/u/12157631?v=3","gravatar_id":"","url":"https://api.github.com/users/pszybiak","html_url":"https://github.com/pszybiak","followers_url":"https://api.github.com/users/pszybiak/followers","following_url":"https://api.github.com/users/pszybiak/following{/other_user}","gists_url":"https://api.github.com/users/pszybiak/gists{/gist_id}","starred_url":"https://api.github.com/users/pszybiak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pszybiak/subscriptions","organizations_url":"https://api.github.com/users/pszybiak/orgs","repos_url":"https://api.github.com/users/pszybiak/repos","events_url":"https://api.github.com/users/pszybiak/events{/privacy}","received_events_url":"https://api.github.com/users/pszybiak/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"cmichaelgraham","id":10272832,"avatar_url":"https://avatars.githubusercontent.com/u/10272832?v=3","gravatar_id":"","url":"https://api.github.com/users/cmichaelgraham","html_url":"https://github.com/cmichaelgraham","followers_url":"https://api.github.com/users/cmichaelgraham/followers","following_url":"https://api.github.com/users/cmichaelgraham/following{/other_user}","gists_url":"https://api.github.com/users/cmichaelgraham/gists{/gist_id}","starred_url":"https://api.github.com/users/cmichaelgraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmichaelgraham/subscriptions","organizations_url":"https://api.github.com/users/cmichaelgraham/orgs","repos_url":"https://api.github.com/users/cmichaelgraham/repos","events_url":"https://api.github.com/users/cmichaelgraham/events{/privacy}","received_events_url":"https://api.github.com/users/cmichaelgraham/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-05-16T23:29:40Z","updated_at":"2015-06-02T11:12:57Z","closed_at":"2015-05-18T14:16:19Z","body":"Hi\r\nI have a problem with aurelia-require-bundle.\r\nWhen I run\r\n\r\n`node r.js -o name=aurelia-bundle-manifest baseUrl=. mainConfigFile=main-config.js out=aurelia-bundle.js optimize=none`\r\n\r\nI get exception:\r\n\r\n`Tracing dependencies for: aurelia-bundle-manifest\r\nError: ENOENT, no such file or directory 'F:\\aurelia\\aurelia-typescript\\aurelia-require-bundle\\sightglass.js'\r\nIn module tree:\r\n aurelia-bundle-manifest\r\n   aurelia-loader/index\r\n     aurelia-loader/loader\r\n       core-js/core.src`\r\n\r\nI'm new to all of this code (aurelia, TS, requirejs) and I don't know where I've made a mistake.\r\nI think core.src.js file is a bundle and have inside core.js, sightglass.js and rivets.patched.js\r\nI don't know what and why is looking for sightglass.js file.\r\nWhen I put sightglass.js file to my base directory then node r.js command is OK, but file aurelia-bundle.js has duplicated sightglass.js code."},"comment":{"url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/comments/107917768","html_url":"https://github.com/cmichaelgraham/aurelia-typescript/issues/28#issuecomment-107917768","issue_url":"https://api.github.com/repos/cmichaelgraham/aurelia-typescript/issues/28","id":107917768,"user":{"login":"luboid","id":383517,"avatar_url":"https://avatars.githubusercontent.com/u/383517?v=3","gravatar_id":"","url":"https://api.github.com/users/luboid","html_url":"https://github.com/luboid","followers_url":"https://api.github.com/users/luboid/followers","following_url":"https://api.github.com/users/luboid/following{/other_user}","gists_url":"https://api.github.com/users/luboid/gists{/gist_id}","starred_url":"https://api.github.com/users/luboid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luboid/subscriptions","organizations_url":"https://api.github.com/users/luboid/orgs","repos_url":"https://api.github.com/users/luboid/repos","events_url":"https://api.github.com/users/luboid/events{/privacy}","received_events_url":"https://api.github.com/users/luboid/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T11:12:57Z","updated_at":"2015-06-02T11:12:57Z","body":"Hi,\r\n\r\nIs this possible, not to include core-js into bundle, because - if we are using IE10 there is need to include it as script tag (I think this extend global)\r\n\r\nIt is simple to load it by configuring requirejs\r\n\r\n```\r\n{\r\n    paths: {\r\n        corejs: '/scripts/core-js/'\r\n    },\r\n    shim: {\r\n        'corejs/core': {\r\n            exports : window.core\r\n        }\r\n    },\r\n    map: {\r\n        '*': {\r\n            'core-js': 'corejs/core'\r\n        }\r\n    }\r\n}\r\n```\r\n"}}