Skip to content

Minifying fails with mapbox-gl #2520

@sheerun

Description

@sheerun

Bug report or feature request?

Bug report

ES5 or ES6+ input?

ES5

Uglify version (uglifyjs -V)

2.8.29
EDIT: 3.2.0 as well

JavaScript input

require('mapbox-gl')

and bundle with something like webpack

The uglifyjs CLI command executed or minify() options used.

I used one built with next.js

JavaScript output or error produced.

Uncaught ReferenceError: e is not defined

More details:

mapbox/mapbox-gl-js#4359

Mapbox closed their issue and said it needs to be fixed upstream...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions