Skip to content

ng build -prod uglify? #4498

@MickL

Description

@MickL

I just wondered if there is an option to uglify the compiled JavaScript.
I don't want my variable- and function-names to show up in code. Also it would save alot of space.

I read on a page that ng build -prod does uglify, but i don't see that in my dist folder. Maybe it got removed? Or is there any option i'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions