some fixes for es5 transpilation
This commit is contained in:
parent
59e811247f
commit
da45d002a3
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({
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user