mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +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 { initDatabaseModels, sequelizeTypescript } from '../../server/initializers/database'
|
||||
import * as Sequelize from 'sequelize'
|
||||
import { join } from 'path'
|
||||
import { HLS_STREAMING_PLAYLIST_DIRECTORY, STATIC_PATHS, WEBSERVER } from '@server/initializers/constants'
|
||||
import { pathExists, stat, writeFile } from 'fs-extra'
|
||||
import parseTorrent from 'parse-torrent'
|
||||
import { join } from 'path'
|
||||
import * as Sequelize from 'sequelize'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { createTorrentPromise } from '@server/helpers/webtorrent'
|
||||
import { CONFIG } from '@server/initializers/config'
|
||||
import parseTorrent from 'parse-torrent'
|
||||
import { logger } from '@server/helpers/logger'
|
||||
import { HLS_STREAMING_PLAYLIST_DIRECTORY, STATIC_PATHS, WEBSERVER } from '@server/initializers/constants'
|
||||
import { initDatabaseModels, sequelizeTypescript } from '../../server/initializers/database'
|
||||
|
||||
run()
|
||||
.then(() => process.exit(0))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue