I have no idea regarding how to make magento use
.scss instead of
.less for all styling purpose.
So I went through official documentation available at
and installed module-scss from it's github repo.
and put it inside below directory and then run upgrade command.
I have created newtheme from scratch for demonstration purpose of compilation of
.scss.My theme directory structure looks like below.
and inside newtheme newstyle.scss is inside
web/css subdirectory thus trying to convert into newtheme.css and also add the file to
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <css src="css/newstyle.css"/> </head> </page>
But when I ran deploy command, above error message appears in cli. I am not backend dev so don't know from where issue comes from.