Skip to content

Should not parse require in ESM parser #3203

@h-a-n-a

Description

@h-a-n-a

System Info

Not related

Details

Webpack does not parse require by default. Whether it can be enabled by parserOptions can be referred to webpack.

Reproduce link

No response

Reproduce Steps

Not related

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstaleteamThe issue/pr is created by the member of Rspack.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions