mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Stop using tsconfig register
Prefer to replace paths at compile time
This commit is contained in:
parent
cea093bca5
commit
f8360396ff
47 changed files with 191 additions and 609 deletions
|
@ -1,15 +1,12 @@
|
|||
import { registerTSPaths } from '../server/helpers/register-ts-paths'
|
||||
registerTSPaths()
|
||||
|
||||
import { program } from 'commander'
|
||||
import { createReadStream, readdir } from 'fs-extra'
|
||||
import { join } from 'path'
|
||||
import { createInterface } from 'readline'
|
||||
import { format as sqlFormat } from 'sql-formatter'
|
||||
import { inspect } from 'util'
|
||||
import * as winston from 'winston'
|
||||
import { labelFormatter, mtimeSortFilesDesc } from '../server/helpers/logger'
|
||||
import { CONFIG } from '../server/initializers/config'
|
||||
import { inspect } from 'util'
|
||||
import { format as sqlFormat } from 'sql-formatter'
|
||||
|
||||
program
|
||||
.option('-l, --level [level]', 'Level log (debug/info/warn/error)')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue