Shazwazza / ClientDependency

DEPRECATED. A library for managing CSS & JavaScript dependencies and optimization in ASP.Net
139 stars 65 forks source link

@import css doesn't get compliled into DependencyHandler.axd anymore #202

Closed mcl-sz closed 2 years ago

mcl-sz commented 2 years ago

Hi,

We're using Umbraco 8.17..1 with ClientDependency 1.9.10. For some wierd reason the @import for css files doesn't work anymore on our test-server. The css files are not compliled inside DependencyHandler.axd but instead they get refrenced:

Test: image

Production: image

Our testserver uses the same css files as our production server and same version of ClientDependency. The only diffrence is that project on our testserver is build with Visual Studio 2022.

mcl-sz commented 2 years ago

I fixed it by removing the .css extension in the scss file. The @import css files are now compiled into the scss output file. But still strange that it doesn't work anymore in VS2022.