Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document 'public' feature #721

Conversation

fhammerschmidt
Copy link
Member

No description provided.

Copy link
Collaborator

@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
1 check passed
@fhammerschmidt fhammerschmidt deleted the build-configuration-sources-public branch October 5, 2023 09:58
@zth
Copy link
Collaborator

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
Collaborator

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