We are using Sitecore 9.3 along with SXA and have 3 instances(1CM and 2CDs). I am facing issue related to SXA asset optimization. Our project globally inherits "Concatenate and Minify option" to optimize CSS files. But the generated optimized-min.css file does not load properly and throws an internal error when tried to navigate directly from browser. When we disable it, CSS works fine.
I see a warning in chrome developer tool - "Resource interpreted as Stylesheet but transferred with MIME type text/html" for the generated CSS file. Can someone kindly guide me is this warning related to this issue or something else is causing styles to break in our website? We would like to minify CSS files for our website. So could anyone please help me on this? Any idea or thoughts would be appreciated.