Skip to content

Module Support import Issue #58

@ghost

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions