-
Notifications
You must be signed in to change notification settings - Fork 107
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
svg compatibility #107
Comments
@MichaelRFairhurst Is that related to this grunt task? Seems like an issue for htmlmin instead. |
Its probably more related to htmlmin...but in some ways, the bug is that its sent into htmlmin in the first place, instead of svgmin or something. I don't think the htmlmin plugin usually has any reason to face off against an svg, and the fact that an svg was sent in at all could be considered the bug. Is there a workaround to accomplish this? |
@MichaelRFairhurst What does your grunt config look like? You can exclude SVGs there. |
compatibility This is the configuration that doesn't work. I have to comment out the On Wed, Oct 1, 2014 at 1:39 PM, Joshua Clanton [email protected]
|
@MichaelRFairhurst Could you create two subtasks for ngtemplates? One for HTML that includes htmlmin config, and a second for svg that excludes htmlmin. Then concat the two JS files. May not be the ideal solution, but it should work. |
That will work just fine, thanks! On Wed, Oct 1, 2014 at 2:10 PM, Joshua Clanton [email protected]
|
When trying to use htmlmin with an svg, even with all minification settings turned off
was turned into
Would be nice if (and maybe there is already a workaround for this?) it could detect svgs based on the xml declaration and/or the doctype tag, and either not minify at all or minify with different settings.
The text was updated successfully, but these errors were encountered: