Skip to content

[MODULE_TYPELESS_PACKAGE_JSON] Module type of cli-help.esm-bundler.js is not specified and it doesn't parse as CommonJS. #2

Description

@ThePlenkov

I started having this warning when using this package:

(node:2965) [MODULE_TYPELESS_PACKAGE_JSON] Warning: Module type of file:///workspace/node_modules/@prostojs/cli-help/dist/cli-help.esm-bundler.js is not specified and it doesn't parse as CommonJS.
Reparsing as ES module because module syntax was detected. This incurs a performance overhead.
To eliminate this warning, add "type": "module" to /workspace/node_modules/@prostojs/cli-help/package.json.
(Use `node --trace-warnings ...` to show where the warning was created)
COMMANDS                                                                     

Can we have it published as module?
Thanks!

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