common: use 'lodash' instead of 'lodash-es' because 'lodash-es' adds megabytes to development build

This commit is contained in:
David Sevilla Martin 2020-03-14 15:02:40 -04:00
parent ef47e09300
commit 0356ecf379
No known key found for this signature in database
GPG Key ID: F764F1417E16B15F
5 changed files with 117 additions and 32670 deletions

32776
js/dist/forum.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

5
js/package-lock.json generated
View File

@ -4013,11 +4013,6 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
},
"lodash-es": {
"version": "4.17.15",
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.17.15.tgz",
"integrity": "sha512-rlrc3yU3+JNOpZ9zj5pQtxnx2THmvRykwL4Xlxoa8I9lHBlVbbyPhgyPMioxVZ4NqyxaVVtaJnzsyOidQIhyyQ=="
},
"loose-envify": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",

View File

@ -9,7 +9,7 @@
"flarum-webpack-config": "^0.1.0-beta.10",
"hc-sticky": "^2.2.3",
"jump.js": "^1.0.2",
"lodash-es": "^4.17.15",
"lodash": "^4.17.15",
"m.attrs.bidi": "github:tobscure/m.attrs.bidi",
"micromodal": "^0.4.2",
"mithril": "^2.0.4",

View File

@ -24,7 +24,7 @@ import Button from './components/Button';
import ModalManager from './components/ModalManager';
import RequestErrorModal from './components/RequestErrorModal';
import { flattenDeep } from 'lodash-es';
import flattenDeep from 'lodash/flattenDeep';
export type ApplicationData = {
apiDocument: any;