johnkorzhuk/fast-poll

Not properly splitting javascript bundles - Firebase

Opened this issue · 0 comments

Since I'm wrapping my firebase provider in gatsby-browser.js, all pages have a dependency on firebase.js even if it doesn't make use of it. This is a known issue for Gatsby versions 1.x. See this issue for more details.

This should be resolved in Gatsby version 2. However, if anyone has a workaround for version 1.x, I'd love to hear it.