Skip to content

Commit

Permalink
chore(babel-transpiler): fix red build (#2195)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicojs authored May 13, 2020
1 parent 1640c6b commit 2425b1a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/babel-transpiler/src/helpers/babelWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit 2425b1a

Please sign in to comment.