@ice/css-modules-hash 升级带来的问题
guoshencheng opened this issue · comments
Century Guo commented
Describe the bug
d9e75a0#diff-d6b982a14d008cfa0ade4bc4875563409fde0348efc9598daabfbe51ad1f95ceL36
这个MR中,将@ice/css-modules-hash升级到了0.0.8的版本,目标版本将多平台依赖改成了可选依赖,但是由于我们的项目使用了lock,这些依赖在本地安装的是mac依赖,似乎到了生产环境的情况下,没有被正常安装,导致了构建的报错
Expected behavior
希望将依赖先退回到普通的依赖,暂时弃用可选依赖
Actual behavior
No response
Version of ice.js
v3
Content of build.json or ice.config.mts
No response
Additional context
No response
ClarkXia commented
多平台一直是可选依赖,推荐重新生成 lock 试下
Century Guo commented
嗯嗯,npm update @ice/css-modules-hash 确实解决了,之前的问题应该是生成的lock文件不当的原因
close