Skip to content
This repository was archived by the owner on Mar 7, 2025. It is now read-only.
This repository was archived by the owner on Mar 7, 2025. It is now read-only.

Support ES6 module import #6

@atiris

Description

@atiris

ES6 named module import is not possible for this library.
Check why this is not possible:

import { Gomshal } from 'gomshal';

Error:

import { Gomshal } from 'gomshal';
         ^^^^^^^
SyntaxError: The requested module 'gomshal' does not provide an export named 'Gomshal'
  at ModuleJob._instantiate (internal/modules/esm/module_job.js:92:21)
  at async ModuleJob.run (internal/modules/esm/module_job.js:107:20)
  at async Loader.import (internal/modules/esm/loader.js:164:24)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions