- always write the base namespace to the top
- for commonjs return the first namespace