Skip to content
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

Support for Closure Compiler in Angular CLI #15901

Closed
naveedahmed1 opened this issue Oct 22, 2019 · 3 comments
Closed

Support for Closure Compiler in Angular CLI #15901

naveedahmed1 opened this issue Oct 22, 2019 · 3 comments
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Milestone

Comments

@naveedahmed1
Copy link

🚀 Feature request

This is based on the issue #2981

Here's a request to please add support for closure compiler in Angular CLI.

Command (mark with an x)

- [x ] build

Description

Since the bundles produced by Angular compiler are compatible with Closure compiler, therefore I believe it would be great if we could have the ability to compile our Angular applications using Closure compiler in Angular CLI.

Describe the solution you'd like

Some flag in angular.json file that could allow us to use Closure compiler with ng build command.

Describe alternatives you've considered

Though I haven't tried it, but below post shows how this can be achieved using angular cli:

https://dev.to/steveblue/build-angular-like-an-architect-part-1-3ph2

What I am suggesting is ability to compile Angular applications using Closure Compiler with minimum efforts using Angular CLI.

@alan-agius4 alan-agius4 added area: @angular-devkit/build-angular feature Issue that requests a new feature labels Oct 22, 2019
@ngbot ngbot bot added this to the Backlog milestone Oct 22, 2019
@matthewjh
Copy link

hi @alan-agius4. just wondering whether this is on the roadmap in any form?

@alan-agius4
Copy link
Collaborator

Let's keep tracking this as part of angular/angular#37234 since the NPM packages of the Angular framework no longer support Closure Compiler ADVANCED_OPTIMIZATIONS.

@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 Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

3 participants