Skip to content

Commit c73fbb9

Browse files
committed
feat(babel): Support new topLevelAwait plugin in babel parser
1 parent d4f29a5 commit c73fbb9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/babelParser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ function getDefaultPlugins(options: BabelOptions) {
4242
'optionalChaining',
4343
['pipelineOperator', { proposal: 'minimal' }],
4444
'throwExpressions',
45+
'topLevelAwait',
4546
];
4647
}
4748

0 commit comments

Comments
 (0)