interledger / web-monetization-extension

An open-source browser extension that enables Web Monetization.
Apache License 2.0
46 stars 2 forks source link

[BUG] Latest build crashes popup #330

Closed sidvishnoi closed 1 week ago

sidvishnoi commented 1 week ago

Steps to reproduce

  1. Open extension popup with latest build.

Expected result

Popup should work fine.

Actual result

It crashes.

Screenshots or videos

image

Additional context

https://interledgerfoundation.slack.com/archives/C06CVJRT5N3/p1718282099827289

Operating system

Windows

Operating system version

No response

Browsers

Chrome

Browser version

No response

Extension version

latest build as of now

sidvishnoi commented 1 week ago

Investigation status: doesn't happen in dev. Only in production build with both Chrome and Firefox. Something related to the way webpack builds with mode: 'production'. It doesn't populate default storage for some reason.