Skip to content

types are wrong configed #1860

@JounQin

Description

@JounQin
  • Rollup Plugin Name: All plugins
  • Rollup Plugin Version: 16.0.1
  • Rollup Version: 4.39.0
  • Operating System (or Browser): macOS
  • Node Version: v22.14.0
  • Link to reproduction (⚠️ read below):

https://arethetypeswrong.github.io/?p=%40rollup%2Fplugin-node-resolve%4016.0.1

Image

Expected Behavior

ESM should be has its own definition.

Actual Behavior

Import resolved to a CommonJS type declaration file, but an ESM JavaScript file.

Additional Information

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