Short Version: How can I integrate Google Cloud Firestore into an Oracle Jet project?
I'm working on incorporating the Firestore client SDK into my Oracle JET project. I've executed the following command to add the package to my project:
npm install firestore --save
Now, I understand that the path_mapping.json file needs updating, but I'm unsure about its contents.
Path_mapping.json file:
"firebase/firestore": {
"cdn": "3rdparty",
"cwd": "node_modules/@firebase/firestore/dist",
"debug": {
"src": ["*.js", "*.map"],
"path": "libs/@firebase/firestore/index.esm2017.js"
},
"release": {
"src": ["*.js", "*.map"],
"path": "libs/@firebase/firestore/index.esm2017.js"
}
}
TS file:
import { collection, getDocs, getFirestore } from "firebase/firestore";
Is it possible to use the Firestore client SDK in an Oracle JET project? If yes, how should the path_mapping.json file be configured to include it?