Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
osadan opened this issue Jul 20, 2017 · 2 comments
Closed

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

osadan opened this issue Jul 20, 2017 · 2 comments

Comments

@osadan
Copy link

osadan commented Jul 20, 2017

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
@filipesilva
Copy link
Contributor

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

Duplicate of #2907.

@filipesilva filipesilva marked this as a duplicate of #2907 Jul 28, 2017
@angular-automatic-lock-bot
Copy link

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.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 7, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants