I was able to combine it with `ModuleTransformer.prototype.getTempVarNameForModuleSpecifier` by forcing all paths to be normalized. That way we also cover the case where symbols are reexported by a module. Previously when merging the namespaces it would lead to code like this:

```
var $__b__ = (function() {
  // ...
})();
var $__a__ = (function() {
  "use strict";
  var __moduleName = "a";
  var $__b__ = $__b__;
  return {
    get b() {
      return $__b__.b;
    }
  };
}();
```

Which is incorrect since `$__b__` will be undefined. I've now overridden `transformNamedExport()` to always return null statements for inline modules. That in combination with normalized names will make it just work.

To verify this I've added `test/unit/node/reexport-x.js` that will test this scenario for all module implementations.