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

Umbrella: Library Mode #6210

Open
2 of 5 tasks
cometkim opened this issue Apr 26, 2023 · 2 comments
Open
2 of 5 tasks

Umbrella: Library Mode #6210

cometkim opened this issue Apr 26, 2023 · 2 comments
Milestone

Comments

@cometkim
Copy link
Contributor

cometkim commented Apr 26, 2023

This is an umbrella issue to track and discusses the remaining issues to be resolved to achieve "Library Mode"

The "Library Mode" means that the ReScript compiler can be adopted as a first-class tool for building libraries in today's JavaScript ecosystem.

Opened RFCs

Related changes

Open discussions

Tell us your story if you've ever provided a JavaScript library based on ReScript (not binding)

@DZakh
Copy link
Contributor

DZakh commented May 1, 2023

I've written the script to support library mode for rescript-struct. https://github.com/DZakh/rescript-struct/blob/main/packages/prepack/src/Prepack.res
I'll share the problems it solves a little bit later when I have time.

@hellos3b
Copy link
Contributor

Following! The above two issues would prevent the need for a secondary build step (rollup) and make making libraries much simpler.

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

No branches or pull requests

4 participants