wallet
wallet copied to clipboard
Unable to update Manifest v3
Hi
I tried to update the code manifest v3 but getting an error.
Some node module is not supported. We need to update the DOM and window request from background script.
Have you update the manifest or have you a any idea
Thanks
@achalcode I faced the same issue The thing is the window is not supported in manifest v3 since a service worker is used to run the background process. I migrted to v3, fixed some issues, but I got stuck when the issue related to window arises. It needs to be replaced with something else see: https://stackoverflow.com/questions/73778202/using-window-globals-in-manifestv3-service-worker-background-script
UPDATE: service worker files in chrome v3 extension is unable to support imports which are dependencies installed through npm or yarn. I tried a sample boilerplate and bundled using parcel but got the following error: Uncaught TypeError: Failed to resolve module specifier "process". Relative references must start with either "/", "./", or "../". It can't resolve remote packages. only relative paths. @achalcode @bradleySuira @harshjv @GNSPS