Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

feat request: use uglify-es #980

Open
@NoNameProvided

Description

@NoNameProvided

Short description of the problem:

ionic-app-scripts currently use uglify-js to minify Ionic apps. Uglify-js supports only es5 so the typescript compiler must target es5 which leads to more generated code. Using uglify-es would allow to target es6 in tsconfig, so typescript just could leave es6 code untouched instead of compiling it down to es5. This would lead to smaller bundles which would lead to faster startup time.

What behavior are you expecting?

Use uglify-es to minify ionic apps.

Steps to reproduce: n/a

Which @ionic/app-scripts version are you using? 1.3.7

Other information: n/a

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