I have a problem adding Firebase SDK to Cocos Creator 3.0. After installing with yarn add firebase@7.23.0
and created a script below
import * as firebase from 'firebase/app';
const app = firebase.app();
I got an error ‘Failed to load module’ (in Cocos 2.4, it works fine) Anyone knows how to fix this?
1 post - 1 participant