Upgrade dialog-polyfill to 0.5 to support ES module imports
See original GitHub issue[REQUIRED] Describe your environment
- Operating System version: Ubuntu 19.10
- Browser version: Chrome 81
- Firebase UI version: 4.4.0
- Firebase SDK version: 7.8.2
[REQUIRED] Describe the problem
firebaseui tries to import the default export of dialog-polyfill, only available in v0.5. But firebaseui 4.4 depends on 0.4.x
Steps to reproduce:
Use es-dev-server to load a boilerplate web app use relevant code below
Relevant Code:
import firebase from "firebase/app";
import "firebase/auth";
import * as firebaseui from 'firebaseui';
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:14 (2 by maintainers)
Top Results From Across the Web
Upgrade your Node app: From CommonJS to ES Modules
4) Fix imports and exports. As already mentioned—Both modules systems are different. It's impossible to convert all files automatically. While ...
Read more >dialog-polyfill - npm
include dialog-polyfill.js script directly in your HTML, which exposes a global dialogPolyfill function. · import (es modules) · require (commonjs ...
Read more >JavaScript - Parcel
ES modules. #. ES module syntax is the standard way to import and export values between files in JavaScript. It should be preferred...
Read more >ECMAScript modules | Node.js v19.3.0 Documentation
Dynamic import() is supported in both CommonJS and ES modules. ... Live binding updates or new exports added to module.exports are not detected...
Read more >Documentation - TypeScript 4.7
Around TypeScript 4.5 we rolled out nightly-only support for ESM in Node.js to ... When a .ts file is compiled as an ES...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
any updates on this? This means firebaseui doesn’t work with any apps built on Vite 😦
This critical bug is very old without any fix from Feb 15 😦