diff --git a/packages/tsbb/src/babel/transform.ts b/packages/tsbb/src/babel/transform.ts index b06d78f4..e364e3ef 100644 --- a/packages/tsbb/src/babel/transform.ts +++ b/packages/tsbb/src/babel/transform.ts @@ -45,7 +45,8 @@ export default (filePath: string, options: ITransformOptions, targets: ITargets) babelOptions = { presets: [ [require.resolve('@babel/preset-env'), { - targets: { node: '10' }, + loose: false, + targets: { node: '8' }, }], require.resolve('@babel/preset-typescript'), ],