Skip to content

ESM not supported in service workers #845

@moonmeister

Description

@moonmeister

Firefox/Safari doesn't support ESM in service workers. This means it throws an exception during parsing.

See: https://caniuse.com/mdn-api_serviceworker_ecmascript_modules

https://wordpress.slack.com/archives/C04EWKGDJ0K/p1701734039961329?thread_ts=1701734039.961329&cid=C04EWKGDJ0K

Creating this issue to track adding a better error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions