Add ReScript interface files to Nx build inputs
This commit is contained in:
parent
a283801d72
commit
cb819df052
5
nx.json
5
nx.json
|
@ -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"
|
||||
|
|
|
@ -8,4 +8,3 @@
|
|||
"nx": "^18.0.7"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,5 +9,6 @@
|
|||
"module": "es6-global",
|
||||
"in-source": true
|
||||
},
|
||||
"bs-dependencies": ["bindings"],
|
||||
"suffix": ".res.js"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue