This repository has been archived by the owner on Jun 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
HTML minification breaks Angular 2 #67
Comments
This is known: angular/angular#5789 |
Apparently the solution proposed by the Angular team will be an offline template compiler, meaning that we'll have to branch depending on whether the client project uses Angular or not |
Issue to keep an eye on: Swaagie/minimize#74 |
For now, a workaround is to use the new option to disable HTML minification. gulpfile.babel.js:
|
I had same problem with minify Angular2.
|
Thanks for the tip @yizhan I'll try this out! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Angular 2 does not seem to like:
These are modifications that https://www.npmjs.com/package/gulp-minify-html does by default via https://github.com/Swaagie/minimize.
The behavior with quotes can be changed but not that with case sensitivity
The text was updated successfully, but these errors were encountered: