File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 26
26
"experimentalDecorators" : true ,
27
27
28
28
"esModuleInterop" : true ,
29
- "jsx" : " react " ,
29
+ "jsx" : " preserve " ,
30
30
"baseUrl" : " ." ,
31
31
"outDir" : " src/sentry/static/sentry/dist" ,
32
32
"paths" : {
Original file line number Diff line number Diff line change @@ -33,9 +33,6 @@ const USE_HOT_MODULE_RELOAD =
33
33
const NO_DEV_SERVER = env . NO_DEV_SERVER ;
34
34
const IS_CI = ! ! env . CI || ! ! env . TRAVIS ;
35
35
36
- // We only use ts-loader directly in CI for a specific job
37
- const USE_TS_LOADER = env . TEST_SUITE === 'js-build' ;
38
-
39
36
// Deploy previews are built using netlify. We can check if we're in netlifys
40
37
// build process by checking the existence of the PULL_REQUEST env var.
41
38
//
@@ -239,7 +236,7 @@ let appConfig = {
239
236
//
240
237
// However, we don't want to lose typechecking in CI, so we have a CI task
241
238
// that will run explicitly ts-loader
242
- use : USE_TS_LOADER ? [ babelLoaderConfig , tsLoaderConfig ] : babelLoaderConfig ,
239
+ use : ! IS_CI ? babelLoaderConfig : [ babelLoaderConfig , tsLoaderConfig ] ,
243
240
} ,
244
241
{
245
242
test : / \. p o $ / ,
You can’t perform that action at this time.
0 commit comments