Skip to content

Commit bf26015

Browse files
committed
fix(pwt): correctly import ts config with types
1 parent 250b841 commit bf26015

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bundle/transformer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export const setupTransformHook = (): VoidFunction => {
1010
babelrc: false,
1111
configFile: false,
1212
compact: false,
13+
presets: [require('@babel/preset-typescript')],
1314
plugins: [
1415
require('@babel/plugin-transform-modules-commonjs')
1516
]

0 commit comments

Comments
 (0)