From 660ae79034397e090b4f96c7893eeb7b596fcea1 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Wed, 10 Oct 2018 09:59:54 +0300 Subject: [PATCH] fix(jsii): use default jsx compiler options (#260) Revert to use default jsx compiler options as there is no need to be opinionated about it. This is a left over from our desire to support JSX in the CDK, which is now being removed (awslabs/aws-cdk#830). --- packages/jsii/lib/compiler.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/jsii/lib/compiler.ts b/packages/jsii/lib/compiler.ts index 9b52910c29..7fc7528745 100644 --- a/packages/jsii/lib/compiler.ts +++ b/packages/jsii/lib/compiler.ts @@ -16,8 +16,6 @@ const COMPILER_OPTIONS: ts.CompilerOptions = { experimentalDecorators: true, inlineSourceMap: true, inlineSources: true, - jsx: ts.JsxEmit.React, - jsxFactory: 'jsx.create', lib: ['lib.es2016.d.ts', 'lib.es2017.object.d.ts', 'lib.es2017.string.d.ts'], module: ts.ModuleKind.CommonJS, noEmitOnError: true,