Skip to content

Allow to override JSX transform options #56

@marvinhagemeister

Description

@marvinhagemeister

In the fresh vite plugin I'm using two loaders at the same time: One for the browser code and one for server code. Both should use a different JSX transform, which is not doable at the moment. I worked around it by doing the browser JSX transform with a babel plugin, but would be nice if you could pass an option to loader.load() to override the jsx transform options.

Metadata

Metadata

Assignees

No one assigned

    Labels

    important for freshIssues that are important for Fresh users

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions