mirror of
https://github.com/developit/microbundle.git
synced 2026-01-18 13:56:35 +00:00
[draft] Use Babel to transpile JSX instead of TypeScript (#573)
Co-authored-by: Leah <me@hrmny.sh> Co-authored-by: Leah <github.leah@hrmny.sh>
This commit is contained in:
parent
c87aaf0e97
commit
305a50fb7a
@ -468,7 +468,7 @@ function createConfig(options, entry, format, writeMeta) {
|
||||
sourceMap: options.sourcemap,
|
||||
declaration: true,
|
||||
declarationDir: getDeclarationDir({ options, pkg }),
|
||||
jsx: 'react',
|
||||
jsx: 'preserve',
|
||||
jsxFactory:
|
||||
// TypeScript fails to resolve Fragments when jsxFactory
|
||||
// is set, even when it's the same as the default value.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user