mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +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,16 +1,13 @@
|
|||
import { registerTSPaths } from '../../server/helpers/register-ts-paths'
|
||||
registerTSPaths()
|
||||
|
||||
import Bluebird from 'bluebird'
|
||||
import { move, readFile, writeFile } from 'fs-extra'
|
||||
import { join } from 'path'
|
||||
import { federateVideoIfNeeded } from '@server/lib/activitypub/videos'
|
||||
import { JobQueue } from '@server/lib/job-queue'
|
||||
import { initDatabaseModels } from '../../server/initializers/database'
|
||||
import { generateHLSMasterPlaylistFilename, generateHlsSha256SegmentsFilename, getHlsResolutionPlaylistFilename } from '@server/lib/paths'
|
||||
import { VideoPathManager } from '@server/lib/video-path-manager'
|
||||
import { VideoModel } from '@server/models/video/video'
|
||||
import { VideoStreamingPlaylistModel } from '@server/models/video/video-streaming-playlist'
|
||||
import { move, readFile, writeFile } from 'fs-extra'
|
||||
import Bluebird from 'bluebird'
|
||||
import { federateVideoIfNeeded } from '@server/lib/activitypub/videos'
|
||||
import { initDatabaseModels } from '../../server/initializers/database'
|
||||
|
||||
run()
|
||||
.then(() => process.exit(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue