Concrete minifier issues

Permalink
Hi,
Just noticed issues happening by c5 css/js minifier (when user turn on CSS and JavaScript Cache). some of that issues that i found includes:
1- CSS3 animation rules like this:
[code]
@-webkit-keyframes fromRightAnim1{
0%{ right: -50%; opacity: 0; }
100%{ right: 10%; opacity: 1; }
}
[code]
C5 minifier wrap fromRightAnim1 into double-quotes that makes it not working:
[code]
@-webkit-keyframes "fromRightAnim1"{
0%{ right: -50%; opacity: 0; }
100%{ right: 10%; opacity: 1; }
}
[code]
2- some js libs load their css files by name, so merging all css into a file caused js file would not find it's css file. (galleria)
So i wonder if there is any way to except a css/js from minifying or merging?

shahroq
View Replies: View Best Answer
MrKDilkington replied on at Permalink Best Answer Reply
MrKDilkington
Hi shahroq,

http://documentation.concrete5.org/developers/assets/registering-an...

Under register() options, there are two parameters combine and minify.

"combine – either true (combine this asset with other assets if asset caching is enabled) or false (do not combine this asset with others). Defaults to -1, which uses the default for the Asset type.
minify – either true (minify this asset before combining, if asset caching is enabled) or false (do not minify this asset). Defaults to -1, which uses the default for the Asset type."