We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
小程序基础库: 2.16.0 使用框架: React
编译打包
打包后代码中存在 const
没有es6语法
Taro CLI 3.2.1 environment info: System: OS: macOS 11.2.3 Shell: 3.2.57 - /bin/bash Binaries: Node: 12.18.3 - ~/.nvm/versions/node/v12.18.3/bin/node Yarn: 1.22.10 - ~/.nvm/versions/node/v12.18.3/bin/yarn npm: 7.5.6 - ~/.nvm/versions/node/v12.18.3/bin/npm npmPackages: babel-preset-taro: 3.1.4 => 3.1.4
The text was updated successfully, but these errors were encountered:
可以自己配置 compile,把 node_modules 里的资源再用 babel 处理一遍
Sorry, something went wrong.
好的~
No branches or pull requests
相关平台
微信小程序
小程序基础库: 2.16.0
使用框架: React
复现步骤
编译打包
期望结果
打包后代码中存在 const
实际结果
没有es6语法
环境信息
The text was updated successfully, but these errors were encountered: