{"action":"closed","issue":{"url":"https://api.github.com/repos/jrburke/requirejs/issues/1429","labels_url":"https://api.github.com/repos/jrburke/requirejs/issues/1429/labels{/name}","comments_url":"https://api.github.com/repos/jrburke/requirejs/issues/1429/comments","events_url":"https://api.github.com/repos/jrburke/requirejs/issues/1429/events","html_url":"https://github.com/jrburke/requirejs/issues/1429","id":109024900,"number":1429,"title":"config.bundles can't use config.map values","user":{"login":"ORESoftware","id":11139560,"avatar_url":"https://avatars.githubusercontent.com/u/11139560?v=3","gravatar_id":"","url":"https://api.github.com/users/ORESoftware","html_url":"https://github.com/ORESoftware","followers_url":"https://api.github.com/users/ORESoftware/followers","following_url":"https://api.github.com/users/ORESoftware/following{/other_user}","gists_url":"https://api.github.com/users/ORESoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/ORESoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ORESoftware/subscriptions","organizations_url":"https://api.github.com/users/ORESoftware/orgs","repos_url":"https://api.github.com/users/ORESoftware/repos","events_url":"https://api.github.com/users/ORESoftware/events{/privacy}","received_events_url":"https://api.github.com/users/ORESoftware/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-30T06:36:59Z","updated_at":"2015-11-17T01:02:17Z","closed_at":"2015-11-17T01:02:17Z","body":"As far as I can tell, map values are *not* being referenced in bundles values in ```requirejs.config({}) ```\r\n\r\nif I have this:\r\n\r\n```javascript\r\n map: {\r\n        '*': {\r\n            'REACT_VIEWS_BASE': 'app/js/jsx/reactComponents',\r\n            'STANDARD_VIEWS_BASE': 'app/js/jsx/allStandardViews',\r\n            'TEMPLATES_BASE':'text!app/templates'\r\n        }\r\n    },\r\n```\r\n\r\nand I have this:\r\n\r\n```javascript\r\n   bundles: {\r\n        'app/optimized/bundles/DashboardView': [\r\n            'STANDARD_VIEWS_BASE/DashboardView',\r\n            'REACT_VIEWS_BASE/ServiceChooser',\r\n            'REACT_VIEWS_BASE/Service',\r\n            'TEMPLATES_BASE/dashboardTemplate.ejs'\r\n        ],\r\n        'app/optimized/bundles/JobsView': [\r\n            'app/js/jsx/relViews/jobs/jobsView',\r\n            'REACT_VIEWS_BASE/JobsList',\r\n            'REACT_VIEWS_BASE/Job',\r\n            'TEMPLATES_BASE/jobsTemplate.ejs'\r\n        ],\r\n        'app/optimized/bundles/OverView': [\r\n            'STANDARD_VIEWS_BASE/OverviewView',\r\n            'REACT_VIEWS_BASE/RealTimeSearchView',\r\n            'TEMPLATES_BASE/overviewTemplate.ejs'\r\n        ],\r\n        'app/optimized/bundles/UserProfile': [\r\n            'STANDARD_VIEWS_BASE/UserProfileView',\r\n            'TEMPLATES_BASE/userProfileTemplate.ejs'\r\n        ]\r\n    },\r\n```\r\n\r\nit doesn't work as expected, and it seems clear that the values from map are not being used to evaluate the strings in bundles (I guess, why should they?). Shouldn't map take precedence over bundles and subsequently referenced in bundles?\r\n\r\nIt could be that map is only referenced in require and define, but why not bundles too? I can confirm that map values are successfully referenced in the include option in build config files, such as so:\r\n\r\n```javascript\r\n  HomeAndIndexView: _.extendOwn({}, baseConfig, {\r\n            \"out\": \"./public/static/app/optimized/bundles/HomeAndIndexView.js\",\r\n            \"include\": [\r\n                'STANDARD_VIEWS_BASE/HomeView',\r\n                'REACT_VIEWS_BASE/TimerExample',\r\n                'STANDARD_VIEWS_BASE/PortalView',\r\n                'REACT_VIEWS_BASE/MenuExample',\r\n                'STANDARD_VIEWS_BASE/HeaderView',\r\n                'STANDARD_VIEWS_BASE/FooterView',\r\n                'STANDARD_VIEWS_BASE/RegisteredUsersView',\r\n                'STANDARD_VIEWS_BASE/LoginView',\r\n                'STANDARD_VIEWS_BASE/IndexView'\r\n\r\n            ]\r\n        }),\r\n```"}}