Hi all,
I have an issue with missing svg attributes on Ionic minified css (prod mode)
I noticed that when I run ‘ionic build –prod’, my inline css svgs doesn’t appear on the application.
After comparing the minified css and regular css made without the --prod flag, I noticed that some specific css attributes are missing: cx, cy, r.
Example from regular css:
hub-component .hub-circle {
display: inline-block;
position: relative;
cx: 50%;
cy: 50%;
r: 49%;
stroke-width: 2;
fill: rgba(255, 255, 255, 0.05);
}
Example from minified css:
hub-component .hub-circle{display:inline-block;position:relative;stroke-width:2;fill:rgba(255,255,255,.05)}
Anyone knows about such issue?
Another question -
My final main.css file is very big - about 23MB minified. The not minified is 25MB and contains ~750K lines…
As it seems, it contains many classes from the node_modules\ionic-angular so I guess it’s fine but still the size seems huge… Is it normal?
Thanks!