Closed ORESoftware closed 8 years ago
It gets confusing if some properties at the top level should or should not use map: if some do and some do not it will be hard to trace how things bottom out to final IDs. The goal with configuration should be to work on final, resolved, absolute module IDs.
As far as I can tell, map values are not being referenced in bundles values in
requirejs.config({})
if I have this:
and I have this:
it 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?
It 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: