Skip to content

Should @babel/plugin-syntax-jsx be a prod dependency instead of a peer dependency? #516

@julienw

Description

@julienw

Following #513 @babel/plugin-syntax-jsx is used. However in my project it's currently not installed, and as a result I get errors like:

  0:0  error  Parsing error: Cannot find module '@babel/plugin-syntax-jsx'

I wonder why it's a peer dependency instead of a prod dependency?

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