Skip to content

How to preserve comments in a template (using @svgr/core)? #266

@dmatteo

Description

@dmatteo

Hey there,

I wonder if there's a way to preserve the comments that are being stripped out of my template (I think by Babel, but not entirely sure).

I use flow, and the // flow comment at the beginning of the file is mandatory to have flow validations in the file.

Thanks a bunch!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions