function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Brennon Williams 5Brennon Williams 5 

Resource interpreted as Stylesheet but transferred with MIME type application/zip?

Hi,

I'm trying to call the new Salesforce Design System CSS from within a .cmp file. No error is thrown, but Chrome logs "Resource interpreted as Stylesheet but transferred with MIME type application/zip"

I'm importing the CSS with:
 
<ltng:require styles="/resource/sds"/>

where 'sds' is the name of the Salesforce Design System folder. It might be worth noting the files are .scss, not .css. Changing styles to "/resource/sds/index.scss" doesn't solve it either. What am I doing wrong here?