Use deep imports for importing lodash to make tree shaking easier

This commit is contained in:
kolaente 2020-03-02 22:37:36 +01:00
parent aeba5651af
commit 3c3767a91e
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
9 changed files with 12 additions and 9 deletions

View file

@ -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')