pinyin-match icon indicating copy to clipboard operation
pinyin-match copied to clipboard

为什么要把 rollup 作为 Dependencies 依赖呢?

Open miffy-w opened this issue 2 years ago • 2 comments

看 npm 上最新的版本,Dependencies 中有 rollup,在项目中使用这个包时会额外的下载 rollup,是否应该把 rollup 作为开发依赖?

miffy-w avatar Aug 08 '22 05:08 miffy-w

不清楚为什么被放到Dependencies中,package.json 我是写到 dev中的

xmflswood avatar Aug 08 '22 08:08 xmflswood

image npm中发布的包中rollup是作为Dependencies,install之后,package.json中也是Dependencies,github中的代码中是dev,是不是需要重新发布一个新的版本

oopses avatar Aug 16 '22 03:08 oopses

重新发版本后 站点上已经没显示了(我没改相关代码配置)

xmflswood avatar Feb 14 '23 01:02 xmflswood