diff --git a/src/Process/MJML.php b/src/Process/MJML.php index 9616c3f..c85d3e3 100644 --- a/src/Process/MJML.php +++ b/src/Process/MJML.php @@ -53,6 +53,7 @@ public function buildCmdLineFromConfig() 'node', config('mjml.auto_detect_path') ? $this->detectBinaryPath() : config('mjml.path_to_binary'), $this->path, + '--config.filePath=' . dirname($this->view->getPath()), '-o', $this->compiledPath, ]);