-
Notifications
You must be signed in to change notification settings - Fork 70
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
[BUG] 组件工程,如果 targets 不添加小程序相关,不会构建出 lib 目录 #234
Comments
这个问题比较复杂:组件工程 |
以及 @ChrisCindy 的 pr 修复的是第一个问题,第二个问题还需要 @yacheng 看下 |
build.json
插件版本
实际测试,并不会生成 lib/miniapp-wechat 目录 |
@yacheng @SoloJiang 所说的实际上是另一个问题,以 rax-canvas 为例,当 src 下存在 miniapp 目录并且代码是 TS 时,编译后会直接将 miniapp 目录平移到 lib 目录,而无视 targets 配置。个人感觉这个问题不是很严重,比较边界。 |
raxjs/rax-components#150 参见这个 pr 的 rax-canvas, |
['web', 'weex']
不会构建出lib
目录miniapp
,会同时构建出lib/miniapp
lib/miniapp-wechat
,预期应该只有lib/miniapp
The text was updated successfully, but these errors were encountered: