Skip to content

tsup 打包的文件会引用第三方依赖

tsup 打包 ts 文件,会引用库。包括类型声明。二次封装 node 包时应该做好 peer 依赖配置,或者单独打包,或者给出特定的包使用入口

这更算是一种开发教训。

贡献者

The avatar of contributor named as ruan-cat ruan-cat

页面历史