Using turbo (turborepo) with ReScript and caching node_modules/**/*

Is anyone successfully using turborepo in their ReScript projects?

I have detailed the issue here:

But in a nutshell, with this config:

{
  "extends": ["//"],
  "pipeline": {
    "build": {
      "outputs": [
        "lib/bs/**/*",
        "src/__generated__/**/*",
        "src/**/*.bs.js",
        "node_modules/**/*.bs.js"
      ],
      "inputs": [
        "src/**/*",
        "node_modules/**/*.{res,ml,mli,atd}",
        "bsconfig.json",
        "relay.config.js"
      ]
    }
}

Turbo does not correctly re-generate node_modules/**/*.bs.js files.

We just ignore inputs and outputs for rescript compiler