feat(core): initial
This commit is contained in:
11
ts/index.ts
Normal file
11
ts/index.ts
Normal file
@ -0,0 +1,11 @@
|
||||
import * as tsNode from 'ts-node';
|
||||
import * as path from 'path';
|
||||
|
||||
tsNode.register({
|
||||
compilerOptions: {
|
||||
lib: ['es2016', 'es2017']
|
||||
}
|
||||
});
|
||||
|
||||
const pathToLoad = path.join(process.cwd(), process.argv.pop());
|
||||
import(pathToLoad);
|
Reference in New Issue
Block a user