chore: use lodash-es version (#569)

lodash-es support tree shaking and the bundle size will near 2MB less
This commit is contained in:
Róbert Kiss
2018-01-29 23:02:17 +01:00
committed by László Monda
parent 02d57fdabf
commit a44a7dc5f8
3 changed files with 487 additions and 235 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -37,6 +37,7 @@
"@types/jasmine": "2.5.53",
"@types/jasminewd2": "2.0.2",
"@types/jquery": "3.2.9",
"@types/lodash-es": "4.17.0",
"@types/node-hid": "0.5.2",
"@types/usb": "1.1.3",
"angular-confirmation-popover": "3.2.0",
@@ -67,7 +68,7 @@
"karma-jasmine": "1.1.0",
"karma-jasmine-html-reporter": "0.2.2",
"less-loader": "4.0.5",
"lodash": "4.17.4",
"lodash-es": "4.17.4",
"ng2-dragula": "1.5.0",
"ng2-nouislider": "^1.7.6",
"ng2-select2": "1.0.0-beta.10",

View File

@@ -1,4 +1,4 @@
import { cloneDeep } from 'lodash';
import cloneDeep from 'lodash-es/cloneDeep';
const defaultUserConfig = {
userConfigMajorVersion: 3,