Skip to content

Support rescript.json - #70

Merged
jfrolich merged 1 commit into
rescript-lang:masterfrom
fhammerschmidt:rescript-json
Oct 12, 2023
Merged

jfrolich merged 1 commit into
rescript-lang:masterfrom
fhammerschmidt:rescript-json

Conversation

@fhammerschmidt

Copy link
Copy Markdown
Member

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

See here: rescript-lang/rescript#6382

Comment thread src/build/packages.rs
let bsconfig_json_path = prefix.to_string() + "bsconfig.json";

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

Copy link
Copy Markdown
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
@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