Closed
Description
Relevant sections of bsconfig.json
:
"sources": {
"dir": "src",
"subdirs": true
},
"package-specs": [
{
"module": "es6", // Works with "commonjs"
"in-source": false
}
],
"bs-dependencies": [
"rescript-jzon"
]
In a source file located at src/Subdir/Foo.res
, I reference Jzon
. In commonjs
mode, this works fine. When I switch to es6
output, I get the following compiler error:
rescript: [84/118] src/Subdir/Foo-Project.cmj
FAILED: src/Subdir/Foo-Project.cmj
We've found a bug for you!
/home/username/project/src/Subdir/Foo.res
Missing dependency Jzon in search path
On rescript v9.1.2
Metadata
Metadata
Assignees
Labels
No labels