private function getCompilerConfiguration(Shop
$shop): array
{ $settings =
$this->service->
getSystemConfiguration( AbstractQuery::HYDRATE_OBJECT
);
$config =
[ 'compress' =>
$settings->
getCompressCss(),
'sourceMap' =>
$settings->
getCreateSourceMap(),
];
if ($settings->
getCreateSourceMap()) { $config +=
[ 'sourceMapRootpath' => '../../',
'sourceMapBasepath' =>
$this->rootDir,
'sourceMapWriteTo' =>
$this->pathResolver->
getSourceMapPath(),
'sourceMapURL' =>
$this->pathResolver->
getSourceMapUrl($shop),
];
}