"LESS"

How to replace LESS CSS Preprocessor with SASS or another one in Magento 2

- Magento 2

Magento 2 Development

In Magento 2, the LESS PHP adapter is located in \lib\internal\Magento\Framework\View\Page\Config\Renderer, and you can easily replace it with another one (SASS for instance) by updating the following lines of code in the di.xml configuration:

More tips from Magento 2 Developer’s Cookbook

Continue Reading