eleme / morjs

基于小程序 DSL(微信、支付宝)的,可扩展的多端研发框架,支持一键将微信或支付宝小程序转换为微信、支付宝、百度、字节、QQ、快手、淘宝、钉钉等小程序 或 Web 应用。
https://mor.ele.me/
MIT License
1.74k stars 113 forks source link

关于执行`mor compile`时莫名奇妙的exclude逻辑,把一些组件和模块给干没了 #205

Open 643104191 opened 4 months ago

643104191 commented 4 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. 执行yarn安装依赖
  2. 执行yarn mor-dev:wx构建微信小程序
  3. 查看./dist/wechat中输出内容 错误结果:
  4. ./dist/wechat中无components/testTabBar组件
  5. ./dist/wechat中无service目录

Expected behavior

  1. ./dist/wechat中有components/testTabBar组件
  2. ./dist/wechat中有service目录

Screenshots image

643104191 commented 4 months ago

微信开发者工具代码片段: https://developers.weixin.qq.com/s/FNmfNSmL77Si

微信开发者工具代码片段仅用于代码分享,实际bug和微信开发者工具无关