rescript-lang/rescript-lang.org

Guide on how to create a ReScript lib for JS usage

開放

#174 建立於 2021年1月5日

 (6 則留言) (3 個反應) (0 位負責人)MDX (258 個分叉)github user discovery
help wantedmanual

倉庫指標

星標
 (1,855 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

It would be great if we'd document how to set up a ReScript project, so that it is publishable on npm without any dependency to the ReScript compiler toolchain.

I know that some workflows are blocked by the fact that ReScript doesn't ship an independent precompiled stdlib / belt package, but others have reported that a rollup based workflow is also viable as well.

Would be interesting to create a dedicated page for a rollup based setup, just to bridge the gap until we see how ppl are getting along with shipping ReScript based JS libs.

貢獻者指南