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

Custom compiler flags #60

Closed
eternalmatt opened this issue Jul 1, 2014 · 1 comment
Closed

Custom compiler flags #60

eternalmatt opened this issue Jul 1, 2014 · 1 comment
Assignees
Milestone

Comments

@eternalmatt
Copy link

It would be beneficial to allow the user to specify compiler flags for the Closure Compiler.

My team wants to use the @ngInject annotation that the compiler supports, but unfortunately you must use the flag --angular_pass to take advantage of that feature.

@samaxes samaxes added this to the 1.7.3 milestone Jul 29, 2014
@samaxes
Copy link
Owner

samaxes commented Jul 30, 2014

Specifying CLI compiler flags is not that easy since this plugin uses the Java API of Google Closure Compiler.
Nevertheless, I added a new option closureAngularPass which will be available on the version 1.7.3.

@samaxes samaxes closed this as completed Jul 30, 2014
@samaxes samaxes self-assigned this Jul 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants