How does lodash have a build script that resides in a directory that isn't in the repository?

寵の児 提交于 2019-12-12 19:18:54

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!