File tree Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Expand file tree Collapse file tree 5 files changed +6
-22
lines changed Original file line number Diff line number Diff line change 1
- 6
1
+ 8
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ const babelOptions = {
33
33
] ,
34
34
'@babel/plugin-syntax-dynamic-import' ,
35
35
'@babel/plugin-syntax-import-meta' ,
36
- [ '@babel/plugin-proposal-decorators' , { decoratorsBeforeExport : true } ] ,
37
36
'@babel/plugin-proposal-class-properties' ,
38
37
'@babel/plugin-proposal-json-strings' ,
39
38
'@babel/plugin-proposal-function-sent' ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @firstlookmedia/react-scripts" ,
3
- "version" : " 2.0.0-rc15 " ,
3
+ "version" : " 2.0.0-rc16 " ,
4
4
"description" : " shared react site configs" ,
5
5
"author" : " First Look Media" ,
6
6
"license" : " MIT" ,
15
15
"@babel/cli" : " ^7.0.0" ,
16
16
"@babel/core" : " ^7.0.0" ,
17
17
"@babel/plugin-proposal-class-properties" : " ^7.0.0" ,
18
- "@babel/plugin-proposal-decorators" : " ^7.0.0" ,
19
18
"@babel/plugin-proposal-export-namespace-from" : " ^7.0.0" ,
20
19
"@babel/plugin-proposal-function-sent" : " ^7.0.0" ,
21
20
"@babel/plugin-proposal-json-strings" : " ^7.0.0" ,
Original file line number Diff line number Diff line change @@ -13,7 +13,6 @@ module.exports = babelJest.createTransformer({
13
13
] ,
14
14
'@babel/plugin-syntax-dynamic-import' ,
15
15
'@babel/plugin-syntax-import-meta' ,
16
- '@babel/plugin-proposal-decorators' ,
17
16
'@babel/plugin-proposal-class-properties' ,
18
17
'@babel/plugin-proposal-json-strings' ,
19
18
'@babel/plugin-proposal-function-sent' ,
@@ -22,5 +21,8 @@ module.exports = babelJest.createTransformer({
22
21
'@babel/plugin-proposal-throw-expressions' ,
23
22
'@babel/plugin-proposal-optional-chaining' ,
24
23
'@babel/plugin-proposal-nullish-coalescing-operator' ,
25
- ] . map ( require . resolve ) ,
24
+ ] . map ( plugin =>
25
+ ( Array . isArray ( plugin )
26
+ ? require . resolve ( plugin [ 0 ] , plugin [ 1 ] )
27
+ : require . resolve ( plugin ) ) ) ,
26
28
} ) ;
Original file line number Diff line number Diff line change 288
288
" @babel/helper-create-class-features-plugin" " ^7.4.4"
289
289
" @babel/helper-plugin-utils" " ^7.0.0"
290
290
291
- " @babel/plugin-proposal-decorators@^7.0.0 " :
292
- version "7.4.4"
293
- resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.4.4.tgz#de9b2a1a8ab0196f378e2a82f10b6e2a36f21cc0"
294
- integrity sha512-z7MpQz3XC/iQJWXH9y+MaWcLPNSMY9RQSthrLzak8R8hCj0fuyNk+Dzi9kfNe/JxxlWQ2g7wkABbgWjW36MTcw==
295
- dependencies :
296
- " @babel/helper-create-class-features-plugin" " ^7.4.4"
297
- " @babel/helper-plugin-utils" " ^7.0.0"
298
- " @babel/plugin-syntax-decorators" " ^7.2.0"
299
-
300
291
" @babel/plugin-proposal-export-namespace-from@^7.0.0 " :
301
292
version "7.2.0"
302
293
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.2.0.tgz#308fd4d04ff257fc3e4be090550840eeabad5dd9"
386
377
dependencies :
387
378
" @babel/helper-plugin-utils" " ^7.0.0"
388
379
389
- " @babel/plugin-syntax-decorators@^7.2.0 " :
390
- version "7.2.0"
391
- resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.2.0.tgz#c50b1b957dcc69e4b1127b65e1c33eef61570c1b"
392
- integrity sha512-38QdqVoXdHUQfTpZo3rQwqQdWtCn5tMv4uV6r2RMfTqNBuv4ZBhz79SfaQWKTVmxHjeFv/DnXVC/+agHCklYWA==
393
- dependencies :
394
- " @babel/helper-plugin-utils" " ^7.0.0"
395
-
396
380
" @babel/plugin-syntax-dynamic-import@^7.0.0" , "@babel/plugin-syntax-dynamic-import@^7.2.0":
397
381
version "7.2.0"
398
382
resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz#69c159ffaf4998122161ad8ebc5e6d1f55df8612"
You can’t perform that action at this time.
0 commit comments