mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
require -> import
This commit is contained in:
parent
e02643f32e
commit
4d4e5cd4dc
33 changed files with 66 additions and 67 deletions
|
@ -1,7 +1,7 @@
|
|||
// Thanks http://tostring.it/2014/06/23/advanced-logging-with-nodejs/
|
||||
import mkdirp = require('mkdirp')
|
||||
import path = require('path')
|
||||
import winston = require('winston')
|
||||
import * as mkdirp from 'mkdirp'
|
||||
import * as path from 'path'
|
||||
import * as winston from 'winston'
|
||||
|
||||
// Do not use barrel (dependencies issues)
|
||||
import { CONFIG } from '../initializers/constants'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue