Skip to content

Commit 660ae79

Browse files
Elad Ben-IsraelRomainMuller
Elad Ben-Israel
authored andcommitted
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 (aws/aws-cdk#830).
1 parent a78784a commit 660ae79

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/jsii/lib/compiler.ts

-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const COMPILER_OPTIONS: ts.CompilerOptions = {
1616
experimentalDecorators: true,
1717
inlineSourceMap: true,
1818
inlineSources: true,
19-
jsx: ts.JsxEmit.React,
20-
jsxFactory: 'jsx.create',
2119
lib: ['lib.es2016.d.ts', 'lib.es2017.object.d.ts', 'lib.es2017.string.d.ts'],
2220
module: ts.ModuleKind.CommonJS,
2321
noEmitOnError: true,

0 commit comments

Comments
 (0)