Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 2592

Importing from rescript standard lib using Deno

$
0
0

I figured it out!

In rescript.json you have to set an extenal stdlib.

"external-stdlib" : "@rescript/std"

And in deno.json:

"imports": {
  "rescript": "npm:rescript@12.0.0-alpha.7",
  "@rescript/std": "npm:@rescript/std@12.0.0-alpha.7",
  /* ... */
}

There might be an opportunity to publish @rescript/std on JSR.


Viewing all articles
Browse latest Browse all 2592

Trending Articles