Skip to content

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

Closed

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

Activity

  1. changed the title [-]Modules cannot be imported after the "--config" configuration item is used[/-] [+]Modules cannot be imported after the "--configPlugin" configuration item is used[/+] on Sep 21, 2024
  2. locked and limited conversation to collaborators on Sep 22, 2024
  3. converted this issue into a discussion #1770 on Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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