Skip to content

@vitejs/plugin-react can support more extensions  #22

@LaamGinghong

Description

@LaamGinghong

Clear and concise description of the problem

I'm doing markdown conversion to React component. However, this plugin may only be supported .jsx? or .tsx? file. So I had to use an extra Babel plugin to handle the files generated by the markdown transformation.

Suggested solution

Add a configuration extension to the plugin's options and support any text that conforms to React component.

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions