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

Support rescript.json #70

Merged
merged 1 commit into from
Oct 12, 2023
Merged

Conversation

fhammerschmidt
Copy link
Member

Support the new name for the ReScript configuration json "rescript.json"

See here: rescript-lang/rescript#6382

let bsconfig_json_path = prefix.to_string() + "bsconfig.json";

if Path::new(&rescript_json_path).exists() {
bsconfig::read(rescript_json_path)
Copy link
Collaborator

Choose a reason for hiding this comment

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

probably we should put this logic in bsconfig::read but we can refactor later, LGTM ✨

@jfrolich jfrolich merged commit 1683ae2 into rescript-lang:master Oct 12, 2023
1 check passed
@fhammerschmidt fhammerschmidt deleted the rescript-json branch October 12, 2023 22:04
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