Skip to content

Hello, this is a very cool library. Is it possible to run it without "type": "module" in package.json? #148

@WhiteOligator

Description

@WhiteOligator

Description

Hello, this is a very cool library. Is it possible to run it without "type": "module" in package.json?

Suggested solution

Without this "type": "module" setting, it won't run. That is, it's impossible to write a startup script in CommonJS.
{
"name": "my-project",
"version": "0.0.0",
"author": "pivo@pivo.ru",
"homepage": ".",
"type": "module",
}

Alternative

No response

Additional context

No response

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