Skip to content
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

不支持babel-plugin-transform-do-expressions #2589

Closed
fred8617 opened this issue Mar 26, 2019 · 2 comments
Closed

不支持babel-plugin-transform-do-expressions #2589

fred8617 opened this issue Mar 26, 2019 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@fred8617
Copy link
Contributor

Feature Request 请提到 FeatHub

如果是提交 bug,请搜索文档和 issue,确认以下事项:

  • 该问题没有在其他 issue 和文档讨论到,不属于重复内容

  • 分割线以下的模板除了「 补充信息」每一样都必填

如果不满足以上两点要求的 bug 报告,issue 会被直接关掉。

请多多理解,您现在的不便将会使 Taro 开发者更高效地定位你的问题,修复你的问题。像你一样的 Taro 的使用者也可以通过搜索找到你提供的 bug,对各方都有很大好处。

🙏🙏🙏
阅读完后请在提交的issue中删除以上内容,包括分割线。

问题描述
[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚]

复现步骤
[复现问题的步骤]

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[或者可以直接贴源代码,能贴文字就不要截图]

// 这里可以贴代码

期望行为
[这里请用简洁清晰的语言描述你期望的行为]

报错信息

[这里请贴上你的完整报错截图或文字]

系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.0.0.64]
  • Node.js 版本 [e.g. v9.0.0]
  • 报错平台 [h5, weapp]

补充信息
[可选]
[根据你的调查研究,出现这个问题的原因可能在哪里?]

@taro-bot
Copy link

taro-bot bot commented Mar 26, 2019

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

@yuche yuche added enhancement New feature or request 编译器 labels Mar 26, 2019
@taro-bot taro-bot bot assigned yuche Mar 26, 2019
@taro-bot
Copy link

taro-bot bot commented Mar 26, 2019

CC @yuche

@yuche yuche closed this as completed in 67e0e2d Apr 9, 2019
leidenglai added a commit to leidenglai/taro that referenced this issue Apr 10, 2019
* upstream/master: (166 commits)
  docs: fix doc error as issue NervJS#2543 (NervJS#2714)
  feat(components): 完善 Input, Button, Textarea, WebView, Swiper 组件的类型定义 (NervJS#2713)
  feat(taro-components): 更新 Video 组件的类型定义
  chore(taro-components): CommonEventFunction 支持传入 e.detail 的类型
  refactor(transformer): 测试环境也需要提醒无法使用 index 作为 key
  test(transformer): 增加使用 index 作为 key 的测试用例,  NervJS#2706
  feat(transformer): 支持 export * from * 语法, close NervJS#959 export v from 'mod' 会转换为两行代码: import v from 'mod' export {  v }
  feat(transformer): 支持 do expression,close NervJS#2589
  refactor(cli): 在 ts 模板中更换 eslint parser, close NervJS#2268
  fix(taro-cli): 更新微信小程序插件模板
  fix(transformer): 只有 props 为 key 时才进行 key 不得为 index 的警告 (NervJS#2705)
  chore(components): ci问题修复
  refactor(transformer): 对头条小程序的循环 ref 进行特殊处理
  chore(webpack-runner): 固定webpack-runner的依赖版本
  feat(h5): h5支持PullDownRefresh系列api
  feat(components): h5内置PullDownRefresh组件
  fix(taro-cli): 修复 taro init 插件模板
  test(transformer): 增加 typescript 测试用例,  NervJS#2699
  refactor(transformer):  只有 .tsx 才保留 JSX 声明,NervJS#2699
  fix(taro-tt): 修复字节跳动小程序循环 ref
  ...

# Conflicts:
#	packages/taro-cli/templates/mobx/globaldts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants