You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
预览模式生成的文件较大,设置 NODE_ENV 为 production 可以开启压缩。
Example:
$ set NODE_ENV=production && taro build --type weapp --watch
08:42:30 [taro] 找不到页面 pages/index/index 依赖的自定义组件:D:\Users\l7\Documents\test\taro_bug_0\src\pages\index\plugin:\xyfsPlugin\image-cropper
vite v4.5.3 building for production...
相关平台
微信小程序
复现仓库
https://github.com/xyfll7/taro_bug_0.git
小程序基础库: 3.5.1
使用框架: React
复现步骤
npm run dev:weapp 即可
期望结果
能够正确识别这是一个小程序插件:
usingComponents: {
"image-cropper": "plugin://xyfsPlugin/image-cropper"
},
实际结果
Tips:
Example:
$ set NODE_ENV=production && taro build --type weapp --watch
08:42:30 [taro] 找不到页面 pages/index/index 依赖的自定义组件:D:\Users\l7\Documents\test\taro_bug_0\src\pages\index\plugin:\xyfsPlugin\image-cropper
vite v4.5.3 building for production...
watching for file changes...
build started...
✓ 102 modules transformed.
环境信息
The text was updated successfully, but these errors were encountered: