PHP code example of baldwin / magento2-module-less-js-compiler
1. Go to this page and download the library: Download baldwin/magento2-module-less-js-compiler library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
baldwin / magento2-module-less-js-compiler example snippets
'system' => [
'default' => [
'dev' => [
'less_js_compiler' => [
'less_arguments' => '--no-color --ie-compat',
'node_arguments' => '--no-deprecation --no-warnings',
]
]
]
]
'system' => [
'default' => [
'dev' => [
'less_js_compiler' => [
'throw_on_error' => true,
]
]
]
]