By srd1 on
Hi Folks,
I've been troubleshooting a memcache issue on our Drupal 7 site, and in the process the front end CSS broke, meaning all content was unstyled.
The Chrome console has a message:
The resource from “/sites/all/themes/mbm/css/style.scss?qktcrf” was blocked due to MIME type (“application/octet-stream”) mismatch (X-Content-Type-Options: nosniff).
Should Drupal be using a .scss file on the front end?
If not, how would I determine where the breakdown of the .scss being converted to a .css file occurs?
Help appreciated.
Steve
Comments
No .scss in the front end
Files of the type
.scssis SASS source files and should not be interpreted by the browser. They should not even live in the theme'scss/directory. I believe they're normally found in a directory namedscss/and are compiled/converted to.cssby some Javascript tool (e.g. gulp.js). Some may also use compass (part of the Ruby framework) to process SASS.- gisle