From 4167f078ac51ee2a685aa4dbc02e5f9b3dfc6dce Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Wed, 10 Oct 2018 09:22:44 +0300 Subject: [PATCH] fix(jsii): use default jsx compiler options 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,