Skip to content

Replace uglify-es with uglify-js #644

@SimenB

Description

@SimenB

Do you want to request a feature or report a bug?

Bug? Dunno 😅

What is the current behavior?

https://github.com/facebook/metro/blob/e473e938c95fca9b3c6c6df54d435a1ff400fb95/packages/metro-minify-uglify/package.json#L16

uglify-es@npm:3.3.10 is deprecated: support for ECMAScript is superseded by `uglify-js` as of v3.13.0

https://www.npmjs.com/package/uglify-es

If the current behavior is a bug, please provide the steps to reproduce and a minimal repository on GitHub that we can yarn install and yarn test.

Just do yarn install metro

What is the expected behavior?

No deprecation warning when installing

Please provide your exact Metro configuration and mention your Metro, node, yarn/npm version and operating system.

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions