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,13 +1,10 @@
|
|||
import { registerTSPaths } from '../server/helpers/register-ts-paths'
|
||||
registerTSPaths()
|
||||
|
||||
import { map } from 'bluebird'
|
||||
import { program } from 'commander'
|
||||
import { pathExists, remove } from 'fs-extra'
|
||||
import { generateImageFilename, processImage } from '@server/helpers/image-utils'
|
||||
import { THUMBNAILS_SIZE } from '@server/initializers/constants'
|
||||
import { VideoModel } from '@server/models/video/video'
|
||||
import { initDatabaseModels } from '@server/initializers/database'
|
||||
import { VideoModel } from '@server/models/video/video'
|
||||
|
||||
program
|
||||
.description('Regenerate local thumbnails using preview files')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue