收藏
回答

在project.config.json中配置了 "ignore"为什么还报错?

在项目根目录的 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

最后一次编辑于  01-16
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容