build: update nx.json

This commit is contained in:
Alex Yang 2023-07-01 16:54:21 +08:00
parent a9adb4dda2
commit ed829dd43b

19
nx.json
View File

@ -107,6 +107,9 @@
"test": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
},
@ -118,6 +121,9 @@
"test:ui": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
},
@ -129,20 +135,13 @@
"test:coverage": {
"outputs": ["{workspaceRoot}/.nyc_output"],
"inputs": [
{
"env": "NATIVE_TEST"
},
{
"env": "ENABLE_PRELOADING"
}
]
}
},
"generators": {
"@nx/react": {
"application": {
"babel": true
},
"library": {
"unitTestRunner": "jest"
}
}
}
}