From aecce4e6e0843e690d49ab9ac2ef07ee444118f8 Mon Sep 17 00:00:00 2001 From: luxp Date: Sat, 4 Aug 2018 00:56:53 +0800 Subject: [PATCH] tweak --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index d6533e2..f40d960 100644 --- a/src/index.js +++ b/src/index.js @@ -325,7 +325,7 @@ function createConfig(options, entry, format, writeMeta) { typescript({ typescript: require('typescript'), tsconfigDefaults: { - compilerOptions: { declaration: true, jsx: options.jsx || 'h' }, + compilerOptions: { declaration: true, jsx: options.jsx }, }, }), !useTypescript && flow({ all: true, pretty: true }),