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

Allow esmodule as a "module" option when compiling path #1059

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

cbowling
Copy link
Contributor

@cbowling cbowling commented Dec 1, 2024

Updates ModuleFormat to understand latest rescript.json "module:" "esmodule" config. This allows a user to use the ReScript: Open the compiled JS file for this implementation file option without it default looking for /lib/js/src instead of /lib/es6/src.

@zth zth requested a review from fhammerschmidt December 18, 2024 11:58
@zth
Copy link
Collaborator

zth commented Dec 18, 2024

@cbowling thank you very much for this! @fhammerschmidt I think you originally implemented this, could you have a look?

@fhammerschmidt
Copy link
Member

Looks fine and I am not sure why I missed this one two weeks ago, sorry!

@zth zth merged commit 541b1e4 into rescript-lang:master Dec 18, 2024
6 checks passed
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.

3 participants