admin管理员组文章数量:1311038
I am debugging a complex issue that only occurs in prod. I am trying to upload sourcemaps so that I can see what lines are actually failing, however I can not get firebase deploy to actually deploy my sourcemaps.
Here's my firebase.json:
{
"flutter": {
"platforms": {
"dart": {
"lib/firebase_options.dart": {
"projectId": "XXXXXXXXX",
"configurations": {
"web": "XXXXXXXXX"
}
}
}
}
},
"hosting": {
"source": ".",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"predeploy": ["flutter build web --source-maps --release"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"frameworksBackend": {
"region": "us-central1"
}
}
}
My predeploy works - I can see that the main.dart.js.map gets built, but when I run firebase deploy --debug I can see it never gets uploaded.
How can I actually force my sourcemaps to get uploaded? I have been looking at documentation and I can't find anything about this.
本文标签: Deploy sourcemaps to firebase web hosting with flutter projectStack Overflow
版权声明:本文标题:Deploy sourcemaps to firebase web hosting with flutter project? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741837425a2400301.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论