<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Issue Test</title>
</head>
<body>
<p><a href="https://github.com/seajs/seajs/issues/100">#100</a></p>
<div id="out"></div>

<script src="../../../dist/sea.js"></script>

<script>

  seajs.config({
    map: [
        ['a.js', 'combo.js'],
        ['b.js', 'combo.js'],
        ['c.js', 'combo.js']
    ]
  })

  seajs.use('./main')

  function printResults(txt, style) {
    var d = document.createElement('div');
    d.innerHTML = txt;
    d.className = style;
    document.getElementById('out').appendChild(d);
  }

</script>
</body>
</html>
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Issue Test</title>
</head>
<body>
<p><a href="https://github.com/seajs/seajs/issues/100">#100</a></p>
<div id="out"></div>

<script src="../../../dist/sea.js"></script>

<script>

  seajs.on('fetch', function(data) {
    var url = data.uri
    data.uri = url.replace(/\/(a|b|c)\.js/, '/combo.js')
  })


  seajs.use('./main')

  function printResults(txt, style) {
    var d = document.createElement('div');
    d.innerHTML = txt;
    d.className = style;
    document.getElementById('out').appendChild(d);
  }

</script>
</body>
</html>
Change map to fetch events
Change map to fetch events
