fix(ts-node): patch error

This commit is contained in:
2018-07-01 17:30:05 +02:00
parent dcf5c6ab22
commit cd549b8aaf
8 changed files with 1188 additions and 36 deletions

View File

@@ -1,11 +1,11 @@
import * as tsNode from 'ts-node';
import * as path from 'path';
import * as tsNode from './tsnode';
tsNode.register({
compilerOptions: {
lib: [ 'es2016', 'es2017' ]
},
ignore: ['^(.(.*\.d\.ts))*$'],
skipIgnore: true,
cacheDirectory: path.join(__dirname, '../tscache')
});