Add ReScript interface files to Nx build inputs

This commit is contained in:
Hoang Nguyen 2024-03-09 00:00:00 +07:00
parent a283801d72
commit cb819df052
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
3 changed files with 5 additions and 2 deletions

View File

@ -24,7 +24,10 @@
"commands": ["rescript build"],
"cwd": "{projectRoot}"
},
"inputs": ["{projectRoot}/src/**/*.res"],
"inputs": [
"{projectRoot}/src/**/*.res",
"{projectRoot}/src/**/*.resi"
],
"outputs": [
"{projectRoot}/src/**/*.res.js",
"{projectRoot}/src/**/*.gen.tsx"

View File

@ -8,4 +8,3 @@
"nx": "^18.0.7"
}
}

View File

@ -9,5 +9,6 @@
"module": "es6-global",
"in-source": true
},
"bs-dependencies": ["bindings"],
"suffix": ".res.js"
}