Skip to content

Request: Supporting Acorn JSX #1512

@trueadm

Description

@trueadm

This is a feature request for adding JSX support to Rollup by potentially having some form of option to enable the Acorn JSX plugin or something similar.

I'm working on a project where it would be ideal to bundle modules that contain JSX, keeping the JSX intact so the resulting bundle still contains the original JSX. For this experiment, I do not want to transform the JSX via Babel etc before making a bundle.

Is this something that could be possible without too much hassle? I looked through the codebase but didn't see any obvious places this could be done without potentially breaking the existing logic.

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