Thanks for taking the time to respond. It looks like per the docs linked above shims have been deprecated and no longer work.
I’m using 11.1 and here’s my config:
{
"name": "app",
"sources": [
{
"dir": "src",
"subdirs": true
},
{
"dir": "packages",
"subdirs": true
}
],
"package-specs": [
{
"module": "esmodule",
"in-source": true
}
],
"reanalyze": {
"suppress": ["src/bindings", "src/common/pages"]
},
"suffix": ".js",
"jsx": { "version": 4 },
"bs-dependencies": ["@rescript/core", "@rescript/react"],
"bsc-flags": ["-open RescriptCore", "-open Global"],
"gentypeconfig": {
"module": "esnext",
"moduleResolution": "bundler",
"generatedFileExtension": ".gen.tsx"
}
}