How to separate a package into modules? (Like Firebase SDK)
If you download Firebase JS SDK you only need to add one dependency: firebase From there you can access all different modules based on your import attributes: import { initializeApp } from 'firebase/app'; import { getFirestore, collection, getDocs } from…