Skip to content

Node22 version import ts file module and reports an error without writing the suffix #479

@asasugar

Description

@asasugar

Reproduction link or steps

nvm use 22

What is expected?

I hope to have the same performance as below node 20

What is actually happening?

In rsbuild.config.ts, use import to introduce a ts basic configuration file, and then without writing a suffix, the imported module will prompt that it cannot be found.

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions