Skip to content

Warn about missing file specified in exports main module types #37

Description

@typed-sigterm

Describe the feature

Just migrated from unbuild (with ext: 'js'), I almost forgot to change .[jt]s in the package to .m[jt]s.

If a non-existent file is referenced in the exports` `main` `module` `types of package.json, a warning after building may enhance DX.

Additional information

  • Would you be willing to help implement this feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions