在项目根目录的 project.config.json 中,添加以下配置:
"packOptions": {
"ignore": [
{
"type": "file",
"value": "plugin/components/captcha-modal/README.md"
},
{
"type": "file",
"value": "plugin/**/*.md"
}
]
}
上传代码依然报错如下:
message:预览 Error: 非法的文件,错误信息:source package include invalid file : /plugin/components/captcha-modal/README.md

一样的问题,待解决