Open dmotz opened 3 years ago
Thanks for filing, I had just noticed this as well. Originally it was done to reduce bytes /w tree-shaking, but it seems to break some packages that rely on them. We have a PR out to drop this so that all imports are preserved.
A common pattern in packages that use Firebase is to import the base module and then additional modules that run side effects internally to augment the base, like this:
When the package is deployed to Skypack, the additional import lines are removed completely and the package breaks.