diff --git a/lib/bundle/transformer.ts b/lib/bundle/transformer.ts index 5238a4772..f885dfa5b 100644 --- a/lib/bundle/transformer.ts +++ b/lib/bundle/transformer.ts @@ -10,6 +10,7 @@ export const setupTransformHook = (): VoidFunction => { babelrc: false, configFile: false, compact: false, + presets: [require('@babel/preset-typescript')], plugins: [ require('@babel/plugin-transform-modules-commonjs') ]