I’m getting an error I haven’t seen before when using Array.make()
Missing dependency Core__Array in search path
Something similar is happening that’s making me use Core__Iterator
on some parts
let values = deps => Set.values(deps)->Core__Iterator.toArrayWithMapper(it => get(it).value)
My setup is vite with just rescript and rescript core, my package.json:
"devDependencies": {
"rescript": "^10.1.4",
"vite": "^4.3.9"
},
"dependencies": {
"@rescript/core": "^0.3.1"
}
And my bsconfig:
{
"name": "domrx",
"sources": {
"dir": "src",
"subdirs": true
},
"package-specs": {
"module": "es6-global",
"in-source": true
},
"suffix": ".bs.js",
"bsc-flags": ["-open RescriptCore"],
"bs-dependencies": ["@rescript/core"]
}