We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing firebase from npm package does no longer work. This seems like a regression as that import worked fine on 0.17.2 for me.
npm install -S firebase
import firebase from 'firebase/app
vite
vue
yarn.lock
package-lock.json
@vue/compiler-sfc
Console error:
SyntaxError: The requested module '/@modules/@firebase/app/dist/index.cjs.js' does not provide an export named 'default'
The text was updated successfully, but these errors were encountered:
firebase/app's browser field points to a cjs file... 🤦
firebase/app
browser
Sorry, something went wrong.
c790499
Thank you ❤️ ! Works like a charm 🙇 .
No branches or pull requests
Describe the bug
Importing firebase from npm package does no longer work. This seems like a regression as that import worked fine on 0.17.2 for me.
Reproduction
npm install -S firebase
import firebase from 'firebase/app
to any JS file.System Info
vite
version: 0.18.1vue
version (fromyarn.lock
orpackage-lock.json
): 3.0.0-beta.14@vue/compiler-sfc
version: 3.0.0-beta.14Logs (Optional if provided reproduction)
Console error:
The text was updated successfully, but these errors were encountered: