Skip to content

Commit

Permalink
[bundle-size][firestore] Refine bundle definition
Browse files Browse the repository at this point in the history
  • Loading branch information
yifanyang committed Dec 1, 2021
1 parent 086df7c commit acfd4cf
Showing 1 changed file with 135 additions and 3 deletions.
138 changes: 135 additions & 3 deletions repo-scripts/size-analysis/bundle-definitions/firestore.json
Expand Up @@ -23,10 +23,39 @@
"imports": [
"getFirestore",
"doc",
"getDoc",
"setDoc",
"getDoc"
]
}
]
}
]
},
{
"name": "Write data",
"dependencies": [
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "app",
"imports": [
"initializeApp"
]
}
]
},
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "firestore",
"imports": [
"getFirestore",
"collection",
"getDocs"
"doc",
"setDoc"
]
}
]
Expand Down Expand Up @@ -98,5 +127,108 @@
]
}
]
},
{
"name": "Query Cursors",
"dependencies": [
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "app",
"imports": [
"initializeApp"
]
}
]
},
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "firestore",
"imports": [
"getFirestore",
"collection",
"doc",
"getDoc",
"query",
"orderBy",
"startAt",
"endBefore"
]
}
]
}
]
},
{
"name": "Persistence",
"dependencies": [
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "app",
"imports": [
"initializeApp"
]
}
]
},
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "firestore",
"imports": [
"getFirestore",
"enableIndexedDbPersistence",
"collection",
"onSnapshot",
"where",
"query",
"enableNetwork",
"disableNetwork"
]
}
]
},
{
"name": "Transaction",
"dependencies": [
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "app",
"imports": [
"initializeApp"
]
}
]
},
{
"packageName": "firebase",
"versionOrTag": "latest",
"imports": [
{
"path": "firestore",
"imports": [
"getFirestore",
"doc",
"runTransaction"
]
}
]
}
]
}
]
}
]

0 comments on commit acfd4cf

Please sign in to comment.