Skip to content

Modules cannot be imported after the "--configPlugin" configuration item is used #1769

@liaoruikang

Description

@liaoruikang
  • Rollup Plugin Name: @rollup/plugin-typescript
  • Rollup Plugin Version: 11.1.6
  • Rollup Version: 4.22.4
  • Operating System (or Browser): Windows11
  • Node Version: 20.17.0
  • Link to reproduction (⚠️ read below):

Expected Behavior

Modules can be imported

Actual Behavior

Unable to import module

Additional Information

If tsconfig.json>module is set to ES2015, the module can be imported. If the module value is higher than ES2015, the module cannot be imported

Snipaste_2024-09-21_23-34-01 Snipaste_2024-09-21_23-35-10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions