Skip to content

Commit ca55dbe

Browse files
authored
Try #573:
2 parents 55a2fe7 + e6caddc commit ca55dbe

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,8 +552,7 @@ function createConfig(options, entry, format, writeMeta) {
552552
compilerOptions: {
553553
sourceMap: options.sourcemap,
554554
declaration: true,
555-
jsx: 'react',
556-
jsxFactory: options.jsx || 'h',
555+
jsx: 'preserve',
557556
},
558557
},
559558
tsconfig: options.tsconfig,

0 commit comments

Comments
 (0)