nearform / playwright-firebase

A plugin to handle Firebase authentication in Playwright tests
Other
19 stars 3 forks source link

Feature Request: Add CJS Support #231

Closed barelyhuman closed 10 months ago

barelyhuman commented 10 months ago

The current library only supports working in ESM environments. As firebase itself supports CJS environments, it'd be unfair to ignore it.

This issue is for feedback/discussion of the implementation.

Current State

Keep the library ESM first but compatible with CJS. Users can use async imports (await import("@nearform/playwright-firebase")) but I think we should still provision the general user

Possible Changes

github-actions[bot] commented 3 months ago

🎉 This issue has been resolved in version 1.2.9 🎉

The release is available on: