fix: transpile to es2017 as esnext may result in unsupported JS code (#593)
Transpile to es2017 to ensure compatiblity with Node.Js 8. Otherwise use of e.g. the optional chaining operator ?. supported since typescript 3.7 results in js not running on nodejs 8. Es2017 is the minimum to get native await support.
This commit is contained in:
		
							parent
							
								
									9458390b32
								
							
						
					
					
						commit
						4b25d4a26f
					
				|  | @ -13,7 +13,7 @@ | ||||||
|     "sourceMap": true, |     "sourceMap": true, | ||||||
|     "strict": true, |     "strict": true, | ||||||
|     "strictNullChecks": true, |     "strictNullChecks": true, | ||||||
|     "target": "esnext" |     "target": "es2017" | ||||||
|   }, |   }, | ||||||
|   "exclude": [ |   "exclude": [ | ||||||
|     "node_modules" |     "node_modules" | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue