mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 17:57:04 +08:00
common: use 'lodash' instead of 'lodash-es' because 'lodash-es' adds megabytes to development build
This commit is contained in:
parent
ef47e09300
commit
0356ecf379
32776
js/dist/forum.js
vendored
32776
js/dist/forum.js
vendored
File diff suppressed because it is too large
Load Diff
2
js/dist/forum.js.map
vendored
2
js/dist/forum.js.map
vendored
File diff suppressed because one or more lines are too long
5
js/package-lock.json
generated
5
js/package-lock.json
generated
|
@ -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",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user