Skip to content

Commit 4972722

Browse files
committed
refactor: Adding jsxImportSource to default tsconfig
1 parent 947a08c commit 4972722

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,9 @@ function createConfig(options, entry, format, writeMeta) {
555555
jsxFactory: options.jsx,
556556
jsxFragmentFactory: options.jsxFragment,
557557
}),
558+
...(options.jsxImportSource && {
559+
jsxImportSource: options.jsxImportSource,
560+
}),
558561
},
559562
files: options.entries,
560563
},

0 commit comments

Comments
 (0)