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

Importing from rescript standard lib using Deno

$
0
0

If I change the source code to

import * as Primitive_option from "rescript/std/lib/es6/Primitive_option.js";

I get a different error.

error: Could not resolve 'npm:rescript@12.0.0-alpha.7/std/lib/es6/Primitive_option.js'.

Caused by:
    [ERR_PACKAGE_PATH_NOT_EXPORTED] Package subpath './std/lib/es6/Primitive_option.js' is not defined by "exports" in '/home/josh2/Dev/plex-movie-night/node_modules/.deno/rescript@12.0.0-alpha.7/node_modules/rescript/package.json' imported from 'file:///home/josh2/Dev/plex-movie-night/testing.js'

Viewing all articles
Browse latest Browse all 2592

Trending Articles