Skip to content

Commit

Permalink
fix(jsii): use default jsx compiler options (#260)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
Elad Ben-Israel authored and RomainMuller committed Oct 10, 2018
1 parent a78784a commit 660ae79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/jsii/lib/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 660ae79

Please sign in to comment.