The compiler has an internal experimental flag -bs-cross-module-opt which is off by default.
I think it leads to some errors in some cases but you could try to add
"bsc-flags": [
"-bs-cross-module-opt"
]
in your rescript.json
The compiler has an internal experimental flag -bs-cross-module-opt which is off by default.
I think it leads to some errors in some cases but you could try to add
"bsc-flags": [
"-bs-cross-module-opt"
]
in your rescript.json