continue uniformizing + ditch lodash for native JS methods.
This commit is contained in:
1 parent
2f5d209f5f
commit
d8e4372f22
13 files changed
+67
-31
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { SiteConfig } from 'epg-grabber'
|
||||
import _ from 'lodash'
|
||||
import { deepMerge } from '../functions/functions'
|
||||
import { pathToFileURL } from 'url'
|
||||
|
||||
export class ConfigLoader {
|
||||
@@ -28,6 +28,6 @@ export class ConfigLoader {
|
||||
channels: undefined
|
||||
}
|
||||
|
||||
return _.merge(defaultConfig, config)
|
||||
return deepMerge(defaultConfig, config) as SiteConfig
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user