moduloze
moduloze copied to clipboard
check for namespace import used as function call
From: https://github.com/eight04/cjs-es#import-style
Note that if the identifier is used as the callee of a function/new expression, it would be considered as the default member since the namespace is not callable.
Need to check for this corner case and avoid the namespace import in that case.