问题
I'm trying to discover best practices for building a library and looking through famous library code. I looked at lodash and saw that the build scripts all reference a lib directory that doesn't exist. If I clone this repository, how can it build if these files don't exist in the repository?
回答1:
We used to use lodash-cli to modularize and bundle individual method packages. However, in v5 we'll stick to a single modular package.
Reference
来源:https://stackoverflow.com/questions/46440450/how-does-lodash-have-a-build-script-that-resides-in-a-directory-that-isnt-in-th