Skip to content

using uglify-webpack-plugin version 1.0.0-beta with uglify-es #7063

Closed

Description

@osadan

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ x] feature request

Versions.

ng version - 1.2.1 ( latest)

Repro steps.

II tried to use uglify-es (changed the version in webapck package.json) (wanting to compile my code to es6) I used uglify-webpack-plugin version 1.0.0.beta
and I figured that the options coming from the ng build (on models/webpack-config.ts)

 public addTargetDefaults(buildOptions: BuildOptions): BuildOptions {

is reaching to the uglify-webpack-plugin function as

options:{ 
//datahere
} 

and the uglify-webpack-plugin is expected the options to be

this.uglifyOptions = this.options.uglifyOptions

Activity

  1. filipesilva commented on Jul 28, 2017

    @filipesilva
    Contributor

    Heya, I'm consolidating all the ES2015 support requests on the same issue, so it can be better actioned on.

    Duplicate of #2907.

  2. angular-automatic-lock-bot commented on Sep 7, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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