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

Keep case #74

Closed
dsebastien opened this issue Dec 20, 2015 · 1 comment
Closed

Keep case #74

dsebastien opened this issue Dec 20, 2015 · 1 comment

Comments

@dsebastien
Copy link

Would it be possible to choose whether the minification keeps the case as is?

For example, currently, the following <li *ngFor ... will become <li *ngfor ...`.
Given that Angular 2 now has case sensitive templates, this behavior breaks with Angular applications.

Being able to define a sort of "case: true" option would be very useful

@Swaagie
Copy link
Owner

Swaagie commented Dec 22, 2015

Sorry this is done by the DOMparser of htmlparser2. Changes would have to be made in the parser or a custom parser needs to be supplied.

@Swaagie Swaagie closed this as completed Dec 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants