{"action":"closed","issue":{"url":"https://api.github.com/repos/thaiat/generator-angular-famous-ionic/issues/126","labels_url":"https://api.github.com/repos/thaiat/generator-angular-famous-ionic/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/thaiat/generator-angular-famous-ionic/issues/126/comments","events_url":"https://api.github.com/repos/thaiat/generator-angular-famous-ionic/issues/126/events","html_url":"https://github.com/thaiat/generator-angular-famous-ionic/issues/126","id":56630966,"number":126,"title":"famous-flex third party dependency","user":{"login":"matt-d-rat","id":314505,"avatar_url":"https://avatars.githubusercontent.com/u/314505?v=3","gravatar_id":"","url":"https://api.github.com/users/matt-d-rat","html_url":"https://github.com/matt-d-rat","followers_url":"https://api.github.com/users/matt-d-rat/followers","following_url":"https://api.github.com/users/matt-d-rat/following{/other_user}","gists_url":"https://api.github.com/users/matt-d-rat/gists{/gist_id}","starred_url":"https://api.github.com/users/matt-d-rat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matt-d-rat/subscriptions","organizations_url":"https://api.github.com/users/matt-d-rat/orgs","repos_url":"https://api.github.com/users/matt-d-rat/repos","events_url":"https://api.github.com/users/matt-d-rat/events{/privacy}","received_events_url":"https://api.github.com/users/matt-d-rat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-05T05:58:24Z","updated_at":"2015-02-07T12:28:21Z","closed_at":"2015-02-07T12:28:21Z","body":"Hey, quick question. I want to use [famous-flex](https://github.com/IjzerenHein/famous-flex) (third party dependency) with your awesome generator. I have followed the steps in the Readme regarding how browsersync loads the dependency by modifying the package.json:\r\n\r\n```\r\n// Some code omitted\r\n\"browser\": {\r\n    \"famous\": \"./bower_components/famous/dist/famous-global.js\",\r\n    \"famous-flex\": \"./bower_components/famous-flex/global-no-famous.template.js\"\r\n},\r\n\"browserify-shim\": {\r\n    \"famous\": {\r\n        \"exports\": \"famous\"\r\n    },\r\n    \"famous-flex\": {\r\n        \"exports\": \"famous-flex\",\r\n        \"depends\": [\r\n            \"famous-polyfills\",\r\n            \"famous\"\r\n        ]\r\n    }\r\n}\r\n```\r\n\r\nBrowsersync bundles successfully, but I am getting an error in the console when the ___famous-flex/global-no-famous.template.js___ tries to require in the src files:\r\n\r\n![image](https://cloud.githubusercontent.com/assets/314505/6055657/d0c75400-ad57-11e4-8ba5-ff8e87e0295d.png)\r\n\r\nI assume ___famous-flex/global-no-famous.template.js___ is not correctly declaring the modules, can you help me by explaining what I need to change in order to get this to load correctly.\r\n\r\nThanks!"}}