Skip to content

Module Support import Issue #58

Description

Modern ES Modules are the standard for node environments, etc.

This does not work:

import Geotab from "mg-api-js";

This does work:

import * as Geotab from "mg-api-js";

Perhaps the README.md, etc., should reflect this? I'm not entirely sure what is going on with the default export but there seems to be a collision of sorts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions