Use deep imports for importing lodash to make tree shaking easier
This commit is contained in:
parent
aeba5651af
commit
3c3767a91e
9 changed files with 12 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import axios from 'axios'
|
||||
import {reduce, replace} from 'lodash'
|
||||
import reduce from 'lodash'
|
||||
import replace from 'lodash'
|
||||
|
||||
let config = require('../../public/config.json')
|
||||
|
||||
|
|
|
|||
Reference in a new issue