A JSCodeshift transform that converts namespace imports (import * as) to named imports for better tree-shaking and bundle size optimization.
This transformer uses a two-phase approach to handle complex codebases with multiple namespace imports and cross-references:
- Phase 1: Collects all transformation data for all namespaces before any AST modifications
- Phase 2: Applies all transformations based on the collected data