some fixes for es5 transpilation
This commit is contained in:
		
							
								
								
									
										3
									
								
								dist/mod02/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/mod02/index.js
									
									
									
									
										vendored
									
									
								
							| @@ -28,7 +28,8 @@ let mocha = function (configArg) { | |||||||
|         plugins.gulpTypeScript({ |         plugins.gulpTypeScript({ | ||||||
|             target: 'ES5', |             target: 'ES5', | ||||||
|             emitDecoratorMetadata: true, |             emitDecoratorMetadata: true, | ||||||
|             experimentalDecorators: true |             experimentalDecorators: true, | ||||||
|  |             lib: ['es2015.promise', 'es5'] | ||||||
|         }), |         }), | ||||||
|         plugins.gulpIstanbul({}), |         plugins.gulpIstanbul({}), | ||||||
|         plugins.gulpSourcemaps.write(), |         plugins.gulpSourcemaps.write(), | ||||||
|   | |||||||
| @@ -24,7 +24,8 @@ let mocha = function (configArg: INpmtsConfig) { | |||||||
|         plugins.gulpTypeScript({ |         plugins.gulpTypeScript({ | ||||||
|             target: 'ES5', |             target: 'ES5', | ||||||
|             emitDecoratorMetadata: true, |             emitDecoratorMetadata: true, | ||||||
|             experimentalDecorators: true |             experimentalDecorators: true, | ||||||
|  |             lib: ['es2015.promise','es5'] | ||||||
|         }), |         }), | ||||||
|         plugins.gulpIstanbul({ |         plugins.gulpIstanbul({ | ||||||
|         }), |         }), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user