Skip to content

Conversation

@fhammerschmidt
Copy link
Member

No description provided.

Copy link
Member

@zth zth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic! Could you add it to the JSON schema file in the compiler repo as well, while you're at it? https://github.com/rescript-lang/rescript-compiler/blob/167c586980d1b57d5dc4ac2f82f762d7c03ebce2/docs/docson/build-schema.json

@fhammerschmidt
Copy link
Member Author

It is there already.

image

@fhammerschmidt fhammerschmidt merged commit ebdc061 into rescript-lang:master Oct 5, 2023
@fhammerschmidt fhammerschmidt deleted the build-configuration-sources-public branch October 5, 2023 09:58
@zth
Copy link
Member

zth commented Oct 5, 2023

Public doesn't work in the sources config, only on the top level of bsconfig. At least that's what was reported on the forum. Can you investigate?

@zth
Copy link
Member

zth commented Oct 5, 2023

... Which also reminds me that I didn't review this properly... sorry!

@fhammerschmidt
Copy link
Member Author

What? There is no public field on the top level. It's a field in sourceItem. And sources is either a sourceItem or an array of sourceItems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants