Skip to content

Regression after JSX3 removal #7084

@cknitt

Description

@cknitt

It seems something broke on master with the JSX3 cleanup PR #7072. I forgot to test against a real-world project before merging.

I have a large project with several yarn workspace packages and lots of dependencies.
Only the top-level rescript.json has

  "jsx": {
    "version": 4,
    "mode": "automatic"
  },

but not the other workspace packages or the dependencies.

It seems that the default of JSX 4 was previously inherited from the root rescript.json, but now that's not the case anymore.
So the project only builds if I add the above configuration to the rescript.json of all workspace packages and dependencies.

@mununki Could you have a look at this? And it would be great to have a test in build_tests to verify that the inheritance of the JSX setting works.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions