Npm firebase usage in cocos 3.4.2

I have read a tutorail like bellow image for use firebase usage, but i don’t unknow extraclly

The proposed solution is for the user to package it as a separate js file as a non-npm module via a packaging tool like rollup

Can you get me example project follow this tutorail ?

You can follow this: rollup.js to get a non-npm module via rollup, then import as plugin : Plugin Scripts · Cocos Creator to your project.

1 Like

Thanks you

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.