Internally use named export in babel parser (#17482)
This commit is contained in:
1 parent
78a0903b37
commit
d932cf70df
3 files changed
+26
-28
No files matched your search
@@ -237,21 +237,21 @@ const babelEstree = createBabelParser({
|
||||
),
|
||||
});
|
||||
|
||||
export default {
|
||||
babel,
|
||||
"babel-flow": babelFlow,
|
||||
"babel-ts": babelTs,
|
||||
/** @internal */
|
||||
__js_expression: babelExpression,
|
||||
__ts_expression: babelTSExpression,
|
||||
export { babel, babelFlow as "babel-flow", babelTs as "babel-ts" };
|
||||
|
||||
/** @internal */
|
||||
// eslint-disable-next-line simple-import-sort/exports
|
||||
export {
|
||||
babelExpression as __js_expression,
|
||||
babelTSExpression as __ts_expression,
|
||||
/** for vue filter */
|
||||
__vue_expression: babelExpression,
|
||||
babelExpression as __vue_expression,
|
||||
/** for vue filter written in TS */
|
||||
__vue_ts_expression: babelTSExpression,
|
||||
babelTSExpression as __vue_ts_expression,
|
||||
/** for vue event binding to handle semicolon */
|
||||
__vue_event_binding: babel,
|
||||
babel as __vue_event_binding,
|
||||
/** for vue event binding written in TS to handle semicolon */
|
||||
__vue_ts_event_binding: babelTs,
|
||||
babelTs as __vue_ts_event_binding,
|
||||
/** verify that we can print this AST */
|
||||
__babel_estree: babelEstree,
|
||||
babelEstree as __babel_estree,
|
||||
};
|
||||
Reference in new issue
Block a user