We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 291d698 commit a7f9588Copy full SHA for a7f9588
lib/internal/Magento/Framework/Css/PreProcessor/Adapter/Less/Processor.php
@@ -66,11 +66,12 @@ public function processContent(File $asset)
66
{
67
$path = $asset->getPath();
68
try {
69
+ $mode = $this->appState->getMode();
70
$parser = new \Less_Parser(
71
[
72
'relativeUrls' => false,
- 'compress' => $this->appState->getMode() !== State::MODE_DEVELOPER,
73
- 'sourceMap' => $this->appState->getMode() === State::MODE_DEVELOPER
+ 'compress' => $mode !== State::MODE_DEVELOPER,
74
+ 'sourceMap' => $mode === State::MODE_DEVELOPER
75
]
76
);
77
0 commit comments