Skip to content

Commit

Permalink
fix: 修复convertor生成配置文件时路径报错的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yintyuan authored and luckyadam committed Jan 22, 2024
1 parent 39c4dba commit c54bf2a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/taro-cli-convertor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1804,9 +1804,9 @@ ${code}
ps.push(creator.createFileFromTemplate(templateName, 'config/dev.js', 'config/dev.js', createOpts))
ps.push(creator.createFileFromTemplate(templateName, 'config/prod.js', 'config/prod.js', createOpts))
ps.push(creator.createFileFromTemplate(templateName, 'project.config.json', 'project.config.json', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '.gitignore', '.gitignore', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '.editorconfig', '.editorconfig', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '.eslintrc.js', '.eslintrc.js', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '_gitignore', '.gitignore', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '_editorconfig', '.editorconfig', createOpts))
ps.push(creator.createFileFromTemplate(templateName, '_eslintrc', '.eslintrc', createOpts))
ps.push(creator.createFileFromTemplate(templateName, 'babel.config.js', 'babel.config.js', createOpts))
ps.push(creator.createFileFromTemplate(templateName, 'src/index.html', 'src/index.html', createOpts))
Promise.all(ps).then(() => {
Expand Down

0 comments on commit c54bf2a

Please sign in to comment.