nrm icon indicating copy to clipboard operation
nrm copied to clipboard

每次发npm版本才能更新源,咋解?

Open i5ting opened this issue 4 years ago • 1 comments

提问:每次发npm版本才能更新源,咋解?

将配置文件和npm包进行拆分,配置文件放到cdn上会更好。

i5ting avatar Nov 10 '21 07:11 i5ting

可以放到 Vercel 上,配置还是写在 registries.json 中,但是通过打接口拿配置,以后添加 registry 就可以只用 push 到 master 不用发版了,接口拿到的 json 自动就是最新的。

CaptainOfPhB avatar Nov 11 '21 02:11 CaptainOfPhB