Replies: 3 comments 3 replies
-
Thank you team for releasing v0.900.16! I was waiting for it since days. |
Beta Was this translation helpful? Give feedback.
-
I'm still debating which build we should provide by default (es5 or es2017). I'm a little concerned if we provide the es2017 build as the default (pointed by Or maybe we can point @davideast @jamesdaniels Any thoughts on the default build format? |
Beta Was this translation helpful? Give feedback.
-
I'm looking into the Also how good is the bundler support? By looking at rollup/plugins#208, it doesn't seem rollup supports it yet and if it does, it will still check |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
..and first impressions.
Still no
exports
I noticed the build is picking up "dist/esm5", instead of "dist/esm2017" (the latest tech?). There is still no "exports" field (just saying).
The real fix:
package.json
to "exports". This seems to work. Is "esm2017" a Firebase specific convention?Workaround:
resolve.mainFields: ["esm2017"]
. This does the trick, but feels a bit wrong.extractQuerystring
is not foundThis is an obvious packaging bug, but I found a way around it:
It seems
@firebase/utils
must have renamedextractQuerystring
toquerystring
but @firebase/auth wasn't updated, accordingly.Workaround:
node_modules/@firebase/auth/dist/esm2017/index-2cb9d3c8.js
andWorks for me.
System:
macOS, node 15.x, Vite 2.0.5 for packaging
Beta Was this translation helpful? Give feedback.
All reactions