We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8ea3bb6 + dcb90ea commit 9bd1750Copy full SHA for 9bd1750
ScriptHandler.php
@@ -26,14 +26,14 @@ public static function compileCSS(Event $event)
26
}
27
28
$processor = new Processor($event->getIO());
29
-
+ $prefix = getcwd();
30
foreach ($configs as $config) {
31
if (!is_array($config)) {
32
throw new \InvalidArgumentException('The extra.css-compiler should contain only configuration objects.');
33
34
35
foreach ($config['input'] as $item => $value) {
36
- $processor->attachFiles(__DIR__ . "/{$value}", __DIR__ . "/{$config['output']}");
+ $processor->attachFiles("{$prefix}/{$value}", "{$prefix}/{$config['output']}");
37
38
39
$processor->processFiles(isset($config['format']) ? $config['format'] : 'compact');
0 commit comments