Skip to content

transformer: non-JSX file doesn't need to update options from comments #11020

@Dunqing

Description

@Dunqing
          > Weird, shouldn't have any performance impact in this benchmark, as it applies when the source type is JSX. Could you investigate why this is happening?

SourceType::from_path interprets .js extension as JSX, so antd.js benchmark is treated as JSX.

Originally posted by @overlookmotel in #10983 (comment)

Metadata

Metadata

Assignees

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