-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat: 增加命令行输出显示 #10377
feat: 增加命令行输出显示 #10377
Conversation
@@ -22,6 +22,7 @@ export default (ctx: IPluginContext) => { | |||
filePath: frameworkInfoFileName, | |||
content: JSON.stringify(frameworkinfo, null, 2) | |||
}) | |||
printLog(processTypeEnum.START, '输出路径', `${ctx.paths.outputPath}`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个方法目前只在百度小程序里调用了哦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
嗯, 把位置移动 到 生成 project.config.json 之前了, 只有在小程序里才会输出,提醒用户加载的空间和位置
@delenzhang |
… into Feature/showOutPath
嗯,是的, 放到小程序的project.json的生成之前了, 有一些开发者工具会出现卡死,需要清除项目重新加载生成地址,这个提醒会比较醒目一些,方便用户复制到 开发者工具里 |
@delenzhang 麻烦修复一下测试用例哈,多了一次 log |
done |
感谢贡献~ |
这个 PR 做了什么? (简要描述所做更改)
增加项目输出显示,方便第一次使用小程序开发者工具填入项目路径
这个 PR 是什么类型? (至少选择一个)
这个 PR 涉及以下平台: