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

fix(taro-cli+taro-plugin-babel):修复babel插件内无法访问编译文件路径问题(#2168)
 #2172

Merged
merged 1 commit into from
Feb 14, 2019

Conversation

xiaoyuze88
Copy link
Contributor

  1. 修复 taro-plugin-babel 中调用 babel.transform 时未传递 config.filename 导致插件中无法访问 state.file.opts.filename问题
  2. 修复 taro-cli/weapp.js 中调用 plugin-babel 时 file 参数始终传递 entryFilePath 而非 sourceFilePath ,导致插件内无法正确拿到文件路径问题

…件路径问题(NervJS#2168)


1. 修复 taro-plugin-babel  中调用 babel.transform 未传递 config.filename 导致插件中无法访问 state.file.opts.filename问题
2. 修复 taro-cli/weapp.js 中调用 plugin-babel 时 file 参数始终传递 entryFilePath 而非 sourceFilePath ,导致插件内无法正确拿到文件路径问题
@luckyadam
Copy link
Member

Perfect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants