wasp
wasp copied to clipboard
Consider removing lodash as a core Wasp dependency
Filip noticed that we only use lodash in a single file to perform _.merge of configs.
$ pwd && rg "lodash"
/home/filip/wasp/reviews/waspc
data/Generator/templates/server/src/config.js
2:import _ from 'lodash'
src/Wasp/Generator/WebAppGenerator.hs
87: ("lodash", "^4.17.15"),
$
We might consider removing it. It's a big dependency anyway and we can easily implement this ourselves. It's also pretty popular and removing it would allow our users to decide on the version they want to use on their own.
Sounds good to me, nice catch!
Can I try on this issue?
Can I try on this issue?
Sure feel free to go for it!
before I tried it's done by someone, accept his pr 👍🏽