We are having a weird problem when publishing an asp.net MVC project. After publishing in Release mode, this CSS:
.appTitle {
font-size: calc(1vw + 1vh - .1vmin) !important;
}
becomes this:
.appTitle {
font-size: calc(1vw+ 1vh- .1vmin) !important;
}
The difference is in the spacing before the '+' and '-' signs. This absence of spaces is making the style not apply.
This does not happen when publishing in Debug mode.
The strange thing is, we have another project with almost identical CSS that does not do this when publishing.
So my question is: why is this happening, and what can I do to avoid it?