added support for falling back to default import in case of a nodejs env
support for nodejs default import (require)