mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
refactor: use _ for lodash
This commit is contained in:
parent
67d4d5378b
commit
d9984f5fd3
@ -1,7 +1,7 @@
|
||||
import fs from 'fs'
|
||||
import path from 'path'
|
||||
|
||||
import ـ from 'lodash'
|
||||
import _ from 'lodash'
|
||||
import createResolver from 'postcss-import-resolver'
|
||||
|
||||
import { isPureObject } from '../../../common/utils'
|
||||
@ -105,11 +105,11 @@ export default class PostcssConfig {
|
||||
return config
|
||||
}
|
||||
|
||||
config = this.normalize(ـ.cloneDeep(this.postcss))
|
||||
config = this.normalize(_.cloneDeep(this.postcss))
|
||||
|
||||
// Apply default plugins
|
||||
if (isPureObject(config)) {
|
||||
config = ـ.defaults(config, this.defaultConfig)
|
||||
_.defaults(config, this.defaultConfig)
|
||||
|
||||
this.loadPlugins(config)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user