I’m having an issue where the import/require paths for reason-react contain the local bsconfig.json package-specs paths. My local bsconfig.json contains:
{
...
"package-specs": [{
"module": "es6"
}]
}
My expectation is that the imports/requires for the reason-react *.bs.js files would not contain lib/es6
, since reason-react’s bsconfig.json defines "in-source": true
.
// This path does not exist
import * as ReasonReact from "reason-react/lib/es6/src/ReasonReact.js";
Is this a known issue if you are not using "in-source": true
in a project?