Skip to content

Rescript 11 suffix #125

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

kushalj
Copy link

@kushalj kushalj commented Jul 13, 2025

The latest rescript suffix convention is .res and .res.mjs for modules.

rescript-jest works almost out of the box except for a fiddly suffix issue where a new rescript app would be expecting to fetch jest.res.mjs with the current suffix naming.

This PR renames the suffix in the config files that are compiled into the mjs file (which was bs.js before).

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.

1 participant