Skip to content

_defineProperty is not defined after upgrading to maplibre-gl 5.17.0 #7069

@gzurbach

Description

@gzurbach

After upgrading maplibre-gl from 5.16.0 to 5.17.0, the application crashes at runtime with the following error when interacting with the map (e.g. zooming):

_defineProperty is not defined

This issue does not occur after downgrading to version 5.16.0.

The error appears to be caused by untranspiled code relying on Babel helpers that are not provided at runtime.

This looks like a packaging / transpilation regression in 5.17.0, where Babel helpers such as _defineProperty are referenced but not included or inlined.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions