File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,15 @@ module.exports = {
2020 babelrc : false ,
2121 configFile : false ,
2222 parserOpts : {
23+ allowAwaitOutsideFunction : true ,
2324 plugins : [
2425 'jsx' ,
2526 'classProperties' ,
2627 'doExpressions' ,
27- 'exportDefaultFrom'
28+ 'exportDefaultFrom' ,
29+ 'classPrivateProperties' ,
30+ 'classPrivateMethods' ,
31+ 'importMeta'
2832 ]
2933 }
3034 }
Original file line number Diff line number Diff line change @@ -50,6 +50,10 @@ class Tester {
5050 [ 'estree' , { classFeatures : true } ] ,
5151 'jsx' ,
5252 'classProperties' ,
53+ 'exportDefaultFrom' ,
54+ 'classPrivateProperties' ,
55+ 'classPrivateMethods' ,
56+ 'importMeta' ,
5357 ...babelPlugins
5458 ] ;
5559
@@ -65,8 +69,11 @@ class Tester {
6569 allowImportExportEverywhere : true ,
6670 ...testerOptions . parserOptions ,
6771 babelOptions : {
72+ babelrc : false ,
73+ configFile : false ,
6874 ...testerOptions . parserOptions . babelOptions ,
6975 parserOpts : {
76+ allowAwaitOutsideFunction : true ,
7077 ...testerOptions . parserOptions . babelOptions . parserOpts ,
7178 plugins : babelPlugins
7279 }
You can’t perform that action at this time.
0 commit comments