It looks like one of the 2.1.12/13 fixes broke the use of ".." along with multiple modules. The better normalizing of ".." is great (I've worked around it in the past), but it seems like it is currently also triming modules?
Here's a snippet that worked in 2.1.11 but no longer works in 2.1.13.
<script>
define('modA', [], function() {
var CONFIG = "foo";
return {
load: function(name, req, onload, config) {
req([name + "-" + CONFIG], onload, onload.error);
}
}
});
define('modB', [], function() {
return {
load: function(name, req, onload, config) {
document.body.appendChild( document.createTextNode(name) );
}
}
});
require(['modA!modB!no-dotdot']);
require(['modA!modB!../one-dotdot']);
require(['modA!modB!../../two-dotdot-is-broken']);
</script>
It looks like one of the 2.1.12/13 fixes broke the use of ".." along with multiple modules. The better normalizing of ".." is great (I've worked around it in the past), but it seems like it is currently also triming modules?
Here's a snippet that worked in 2.1.11 but no longer works in 2.1.13.