fix: Startup warning caused by unnecessary compilation of tests and mocks in non-test environments
This commit is contained in:
8
.babelrc
8
.babelrc
@@ -35,6 +35,14 @@
|
||||
"displayName": false
|
||||
}
|
||||
]
|
||||
],
|
||||
"ignore": [
|
||||
"**/*.test.ts"
|
||||
]
|
||||
},
|
||||
"development": {
|
||||
"ignore": [
|
||||
"**/*.test.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -24,5 +24,19 @@
|
||||
}
|
||||
],
|
||||
"tsconfig-paths-module-resolver"
|
||||
]
|
||||
],
|
||||
"env": {
|
||||
"production": {
|
||||
"ignore": [
|
||||
"**/__mocks__",
|
||||
"**/*.test.ts"
|
||||
]
|
||||
},
|
||||
"development": {
|
||||
"ignore": [
|
||||
"**/__mocks__",
|
||||
"**/*.test.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user