Skip to content
New issue

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

Emit a module package file into esm2017 auth webextension bundle #8191

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

dlarocque
Copy link
Contributor

@dlarocque dlarocque commented Apr 19, 2024

The Firebase Auth webextension bundle was previously being shipped as a CommonJS package rather than a ES module, because it did not have a module package file indicating that it was an ES module.

Fixes #8115

Aside: The web-extension entry point does not have a Node bundle, and browser bundles don't normally require a package.json file with { "type": "module" }, but certain browser testing frameworks use Node, and need working ES module resolution.

Copy link

changeset-bot bot commented Apr 19, 2024

🦋 Changeset detected

Latest commit: 084a781

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/auth Patch
@firebase/auth-compat Patch
firebase Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 19, 2024

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Apr 19, 2024

The Firebase Auth webextension bundle was previously being shipped as a
CommonJS package rather than a ES module, because it did not have a
module package file indicating that it was an ES module.

Fixes #8115
@dlarocque dlarocque force-pushed the dlarocque/auth-webextension-emit-module-package branch from 3958b10 to 084a781 Compare April 23, 2024 17:15
@dlarocque dlarocque requested review from a team as code owners April 23, 2024 17:15
@dlarocque dlarocque merged commit 36b283f into master Apr 23, 2024
41 of 44 checks passed
@dlarocque dlarocque deleted the dlarocque/auth-webextension-emit-module-package branch April 23, 2024 18:52
@google-oss-bot google-oss-bot mentioned this pull request Apr 24, 2024
@firebase firebase locked and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vitest having problems with the types of firebase/auth/web-extension
3 participants