You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are no issues on Dev, but when I try to build it produces this error.
file:///C:/dev/test-static-messaging/node_modules/@firebase/messaging-compat/dist/esm/index.esm2017.js:5
import { onBackgroundMessage } from '@firebase/messaging/sw';
^^^^^^^^^^^^^^^^^^^
SyntaxError: Named export 'onBackgroundMessage' not found. The requested module '@firebase/messaging/sw' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from '@firebase/messaging/sw';
const { onBackgroundMessage } = pkg;
Describe the bug
There are no issues on Dev, but when I try to build it produces this error.
Reproduction
https://github.com/sacrosanctic/test-static-messaging
Logs
No response
System Info
Severity
blocking an upgrade
Additional Information
No response
The text was updated successfully, but these errors were encountered: