Skip to content

jsxRuntimeImport not getting picked up? #801

@shish

Description

@shish

When I have this in my package.json, the output is changed appropriately:

    "svgr": {
        "jsxRuntime": "classic-preact"
    }

But this seems to have no effect :(

    "svgr": {
        "jsxRuntimeImport": { "source": "preact", "specifiers": ["h"] },
    }

(I need to use the custom version because I'm using HyperApp as a framework, and so I need my h to be imported from the hyperapp-jsx-pragma package)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions