|
|
|
|
|
by chucky
1704 days ago
|
|
Why not use the library? With tree shaking and/or direct imports you will ensure the same bundle size as if you just copied the file, and you don't have to worry about licenses etc. In fact, since other dependencies might depend on lodash you can deduplicate the import and actually save on bundle size. You'll also get notified of any security issues in your lodash imports if your CI pipeline is setup for doing that kind of thing. |
|