From 2425b1a6757102d3b89e7806c8ff96fb0f05634e Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Wed, 13 May 2020 11:20:10 +0200 Subject: [PATCH] chore(babel-transpiler): fix red build (#2195) --- packages/babel-transpiler/src/helpers/babelWrapper.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/babel-transpiler/src/helpers/babelWrapper.ts b/packages/babel-transpiler/src/helpers/babelWrapper.ts index a8a9080dda..a673c41ec8 100644 --- a/packages/babel-transpiler/src/helpers/babelWrapper.ts +++ b/packages/babel-transpiler/src/helpers/babelWrapper.ts @@ -2,4 +2,9 @@ * This wrapper is needed because babel/core only exports * non-stubbable es6 properties. See node_modules/@babel/core/lib/index.js */ -export * from '@babel/core'; +import * as babel from '@babel/core'; + +export type { BabelFileResult, TransformOptions, ConfigFunction, ConfigAPI } from '@babel/core'; + +export const transformSync = babel.transformSync; +export const DEFAULT_EXTENSIONS = babel.DEFAULT_EXTENSIONS;