Use typescript paths in cli scripts too

This commit is contained in:
Chocobozzz
2019-10-21 17:13:07 +02:00
parent 576ddf645f
commit 2aaa1a3fdc
23 changed files with 82 additions and 9 deletions

View File

@@ -1,3 +1,6 @@
import { registerTSPaths } from '../server/helpers/register-ts-paths'
registerTSPaths()
import * as program from 'commander'
import { VideoModel } from '../server/models/video/video'
import { initDatabaseModels } from '../server/initializers'