Skip to content

plugin-legacy: syntax error in variable detectModernBrowserCode #15094

Closed
@jiadesen

Description

Describe the bug

There is a lack of ; before if in the variable detectModernBrowserCode, which causes legacy resources to be loaded incorrectly in the ESM environment.

Reproduction

Steps to reproduce

No response

System Info

-

Used Package Manager

pnpm

Logs

No response

Validations

Metadata

Assignees

No one assigned

    Labels

    p5-urgentFix build-breaking bugs affecting most users, should be released ASAP (priority)plugin: legacy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions