Skip to content

Please do not omit the file extension for the value of the "main" field in the package.json #457

@cychnfang

Description

@cychnfang

When I use Vite for bundling, if I configure "extensions" and it does not include ".js", it will cause an error.

The reason for this error is that the value of the "main" field omitted the file extension

image

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