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
微信小程序
https://github.com/gzwgq222/weapp-convert-taro
小程序基础库: 3.25.2 使用框架: React
进入微信小程序项目根目录执行 taro convert
正常 convert
报 compiler is not defined 错误
The text was updated successfully, but these errors were encountered:
@Chen-jj
Sorry, something went wrong.
降低到 3.4.7 版本是好的
修改全局node_modules下面的@tarojs/cli/dist/convertor/index.js
@tarojs/cli/dist/convertor/index.js
creator.template(templateName, 'package.json.tmpl', pkgPath, { description, projectName, compiler: 'webpack5', // 增加 version, css: 'sass', typescript: false, template: templateName, framework: this.framework }); creator.template(templateName, path.join('config', 'index.js'), path.join(configDir, 'index.js'), { date, compiler: 'webpack5', // 增加 projectName, framework: this.framework }); ... creator.template(templateName, path.join('src', 'index.html'), path.join(this.convertDir, 'index.html'), { projectName // 增加 });
Successfully merging a pull request may close this issue.
相关平台
微信小程序
复现仓库
https://github.com/gzwgq222/weapp-convert-taro
小程序基础库: 3.25.2
使用框架: React
复现步骤
进入微信小程序项目根目录执行 taro convert
期望结果
正常 convert
实际结果
报 compiler is not defined 错误
taro/cli
The text was updated successfully, but these errors were encountered: