通过 s cli 访问组件时是否真的有必要下载组件的源码到本地进行编译? #153
DevDengChao
started this conversation in
General
Replies: 1 comment 1 reply
-
|
我们接下来会通过几个方面来解决这个事情:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
在调用了几个不同的组件后, 我发现
~/components文件夹占用了几百兆的硬盘空间, 让本就不充裕的 C 盘变得更加雪上加霜.调查了一番后发现,
s将组件的源代码库 (特定版本的快照) 下载到了本地, 并且在各个组件对应的文件夹内进行了编译.组件的源代码快照 :

组件文件夹 :

因为
s cli在后续使用的过程中并不需要dist文件夹以外的内容, 所以我认为在客户端本地进行编译只是白白浪费公网流量和硬盘容量.Beta Was this translation helpful? Give feedback.
All reactions