Skip to content

angular-cli 6 ng build --prod no minify or uglify #10705

@mrjohnr

Description

@mrjohnr

Hi. Using angular-cli 6
ng build --prod
does no minify or uglify

test also with

ng build --target=production --environment=prod
ng build --prod --env=prod

same problem,
thanks

Angular CLI: 6.0.0
Node: 10.0.0
OS: win32 x64
Angular: 6.0.0
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
angular-devkit/architect         0.6.0
angular-devkit/build-angular     0.6.0
angular-devkit/build-optimizer   0.6.0
angular-devkit/core              0.6.0
angular-devkit/schematics        0.6.0
ngtools/webpack                  6.0.0
schematics/angular               0.6.0
schematics/update                0.6.0
rxjs                              6.1.0
typescript                        2.7.2
webpack                           4.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: more infoReporter must clarify the issueneeds: repro stepsWe cannot reproduce the issue with the information given

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions