ice
ice copied to clipboard
zod v4无法正常运行
Describe the bug
本地安装了react-hook-form 和@hookform/resolvers zod v4 ,然后从@hookform/resolvers/zod导出 zodResovler的时候会提示 zod v4模块找不到。看了一下貌似是因为它直接使用的是nodemodules下的zod,恰好ice/bundles使用了3.0的zod。所以现在的情况就是无法使用v4版本。
Expected behavior
zod v4正常使用
Actual behavior
No response
Version of ice.js
3.6.1
Content of build.json or ice.config.mts
Additional context
No response
提供下简单的复现代码