Jul 10, 2017 · 1 min read
Sorry for long answer Josh, super-busy weekdays (and weekends):(
I’ll try to isolate the issue, but as far as I remember, It was the issue with this one:
var Storage = require('dom-storage');var XMLHttpRequest = require("xmlhttprequest").XMLHttpRequest;_app2.default.INTERNAL.extendNamespace({'INTERNAL': { 'node': { 'localStorage': new Storage(null, { strict: true }), 'sessionStorage': new Storage(null, { strict: true }), 'XMLHttpRequest': XMLHttpRequest }}});
firebase-node just had some dependency injection hooked in.
As for using firebase-node and firebase-browser binaries— it’s really okay for us (for now at least): we almost always need database and auth which is 80% of firebase anyway :)
As soon as I’ll have time to optimise this more I’ll move firebase-app into initialization and move database and auth into separate bundles.
