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({ | ||||
|             target: 'ES5', | ||||
|             emitDecoratorMetadata: true, | ||||
|             experimentalDecorators: true | ||||
|             experimentalDecorators: true, | ||||
|             lib: ['es2015.promise', 'es5'] | ||||
|         }), | ||||
|         plugins.gulpIstanbul({}), | ||||
|         plugins.gulpSourcemaps.write(), | ||||
|   | ||||
| @@ -24,7 +24,8 @@ let mocha = function (configArg: INpmtsConfig) { | ||||
|         plugins.gulpTypeScript({ | ||||
|             target: 'ES5', | ||||
|             emitDecoratorMetadata: true, | ||||
|             experimentalDecorators: true | ||||
|             experimentalDecorators: true, | ||||
|             lib: ['es2015.promise','es5'] | ||||
|         }), | ||||
|         plugins.gulpIstanbul({ | ||||
|         }), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user