File tree Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Expand file tree Collapse file tree 1 file changed +11
-16
lines changed Original file line number Diff line number Diff line change @@ -18,28 +18,21 @@ function getDefaultPlugins(
18
18
TYPESCRIPT_EXTS [ path . extname ( options . filename || '' ) ]
19
19
? 'typescript'
20
20
: 'flow' ,
21
- 'asyncGenerators' ,
22
- 'bigInt' ,
23
- 'classProperties' ,
24
- 'classPrivateProperties' ,
25
- 'classPrivateMethods' ,
21
+ 'asyncDoExpressions' ,
22
+ 'decimal' ,
26
23
[ 'decorators' , { decoratorsBeforeExport : false } ] ,
24
+ 'decoratorAutoAccessors' ,
25
+ 'destructuringPrivate' ,
27
26
'doExpressions' ,
28
- 'dynamicImport' ,
29
27
'exportDefaultFrom' ,
30
- 'exportNamespaceFrom' ,
31
28
'functionBind' ,
32
- 'functionSent' ,
33
- 'importMeta' ,
34
- 'logicalAssignment' ,
35
- 'nullishCoalescingOperator' ,
36
- 'numericSeparator' ,
37
- 'objectRestSpread' ,
38
- 'optionalCatchBinding' ,
39
- 'optionalChaining' ,
29
+ 'importAssertions' ,
30
+ 'moduleBlocks' ,
31
+ 'partialApplication' ,
40
32
[ 'pipelineOperator' , { proposal : 'minimal' } ] ,
33
+ [ 'recordAndTuple' , { syntaxType : 'bar' } ] ,
34
+ 'regexpUnicodeSets' ,
41
35
'throwExpressions' ,
42
- 'topLevelAwait' ,
43
36
] ;
44
37
}
45
38
@@ -84,6 +77,8 @@ function buildOptions(
84
77
const plugins = buildPluginList ( parserOptions , babelOptions ) ;
85
78
86
79
return {
80
+ sourceType : 'unambiguous' ,
81
+ tokens : false ,
87
82
...( parserOptions || { } ) ,
88
83
plugins,
89
84
} ;
You can’t perform that action at this time.
0 commit comments