-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用 Zustand 5.0.0 以上版本开发模式下打包报错 taro.react_production_min.create is not a function #17350
Comments
This was referenced Feb 22, 2025
可以尝试关闭一下prebundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 3.7.7
使用框架: React
复现步骤
使用 zustand 构建 store 后正常页面内引入,使用 dev:weapp 打包出错:taro.react_production_min.create is not a function,但是使用 build:weapp 则不会出错,zustand 版本5.0.0 以上可复现错误,旧版本正常
期望结果
正常使用 zustand
实际结果
报错 taro.react_production_min.create is not a function
环境信息
The text was updated successfully, but these errors were encountered: